I started the named server on CentOS and it seems to resolve DNS request OK, but it does not seem to retain the info for very long. From what I can tell using "dig", a domain's ip address is retained for less than 12 hours. So in the morning, it takes 4+ seconds to resolve again the first time. Is there an adjustment somewhere for this or is the caching named support not enabled by default?
Also, I thought it would be faster if I set named to use my ISP's named server as the first choice. Where do I set this up, in root.hints?
Anyone who knows more about "named" please feel free to comment!
Thanks! Lee
Yahoo! Mail Stay connected, organized, and protected. Take the tour: http://tour.mail.yahoo.com/mailtour.html
On Tue, 2005-05-17 at 09:47 -0700, Lee Parmeter wrote:
I started the named server on CentOS and it seems to resolve DNS request OK, but it does not seem to retain the info for very long. From what I can tell using "dig", a domain's ip address is retained for less than 12 hours. So in the morning, it takes 4+ seconds to resolve again the first time. Is there an adjustment somewhere for this or is the caching named support not enabled by default?
Also, I thought it would be faster if I set named to use my ISP's named server as the first choice. Where do I set this up, in root.hints?
Anyone who knows more about "named" please feel free to comment!
Thanks! Lee
I already sent 2 replys :)
http://lists.centos.org/pipermail/centos/2005-May/006003.html
and
http://lists.centos.org/pipermail/centos/2005-May/006002.html
Thanks for everyone's input, I think my named server is working quite well now! This list is fantastic!
BTW, the first time I posted, my spam filter ate the e-mail and all the responses. After I posted the question the 2nd time it showed up and then I got curious as to what happened after Johnny's comment below!
Lee
--- Johnny Hughes mailing-lists@hughesjr.com wrote:
On Tue, 2005-05-17 at 09:47 -0700, Lee Parmeter wrote:
I started the named server on CentOS and it seems to resolve DNS request OK, but it does not seem to retain
the
info for very long. From what I can tell using "dig", a domain's ip address is retained for less than 12 hours.
So
in the morning, it takes 4+ seconds to resolve again
the
first time. Is there an adjustment somewhere for this
or is
the caching named support not enabled by default?
Also, I thought it would be faster if I set named to
use my
ISP's named server as the first choice. Where do I set
this
up, in root.hints?
Anyone who knows more about "named" please feel free to comment!
Thanks! Lee
I already sent 2 replys :)
http://lists.centos.org/pipermail/centos/2005-May/006003.html
and
http://lists.centos.org/pipermail/centos/2005-May/006002.html
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
-- Lee Parmeter Emperor, linXos - The Flying Penguin http://www.linXos.com Linux Registered User #337161
'It's free. It works. Duh.'" - Eric Harrison
The United States is NOT a democracy, it was founded as a Republic!
God is not a republican or a democrat nor is His government a democracy! - Lee Parmeter
Discover Yahoo! Find restaurants, movies, travel and more fun for the weekend. Check it out! http://discover.yahoo.com/weekend.html
On May 17, 2005, at 12:47 PM, Lee Parmeter wrote:
Also, I thought it would be faster if I set named to use my ISP's named server as the first choice. Where do I set this up, in root.hints?
you don't set it up in root.hints, you use named.conf.
in the "options" section (should be near the top of the file), insert the following lines:
forwarders { <ip address of your ISP's nameserver>; <ip address of your ISP's other nameserver>; };
then stop and restart BIND. this tells BIND to send all queries that it cannot resolve locally out to the forwarders - it is unlikely that you should be querying root nameservers directly.
you can add as many additional nameservers as you like; they will be queried in order.
-steve
--- If this were played upon a stage now, I could condemn it as an improbable fiction. - Fabian, Twelfth Night, III,v
On Tue, 2005-05-17 at 09:47 -0700, Lee Parmeter wrote:
I started the named server on CentOS and it seems to resolve DNS request OK, but it does not seem to retain the info for very long. From what I can tell using "dig", a domain's ip address is retained for less than 12 hours. So in the morning, it takes 4+ seconds to resolve again the first time. Is there an adjustment somewhere for this or is the caching named support not enabled by default?
Also, I thought it would be faster if I set named to use my ISP's named server as the first choice. Where do I set this up, in root.hints?
No ... it won't normally be faster to use your ISP's DNS first ...
You will ask it a question ... it will ask the main server ... then reply to you. If you ask yourself, it will cut out the middle man :)
On May 17, 2005, at 1:01 PM, Johnny Hughes wrote:
No ... it won't normally be faster to use your ISP's DNS first ...
You will ask it a question ... it will ask the main server ... then reply to you. If you ask yourself, it will cut out the middle man :)
i don't believe that's necessarily a correct deduction. cutting out the middle man is not always good; if you ask your ISP's nameserver, your ISP's nameserver will quite likely be able to supply you with accurate cached information (especially if you're trying to resolve a commonly used hostname), thus reducing the overall load on the root servers. i doubt you'll see a significant difference, but you'll be doing everyone else a favor.
-steve
--- If this were played upon a stage now, I could condemn it as an improbable fiction. - Fabian, Twelfth Night, III,v