IOS Updating my hosts entries??
- From: Drinkingbird <dave@xxxxxxxxx>
- Date: Tue, 09 Oct 2007 17:26:10 -0700
Router: 3640 running Version 12.4(13a) IP/FW/IDS
I have the router set up to be a basic dns caching/forwarding server,
and I have several IP HOST entries for my domains to serve the
internal IPs locally. The same domains exist on the internet with
public IPs. So I'm doing a very basic split DNS setup.
host domain.com 10.10.10.10
If I do an nslookup for domain.com, I get 10.10.10.10 back, perfect
My public DNS has a wildcard so if I do an nslookup for foo.domain.com
I get back the public IP, 200.200.200.200 which is expected.
However now my "show run" has
host domain.com 10.10.10.10 200.200.200.200
And nslookup to domain.com now returns 10.10.10.10, 200.200.200.200
Why the heck is it updating my host entry, especially when the lookup
was to a different host entirely? I would expect it to leave the
static entry alone and create a new dynamic/cached entry for foo.
In testing I found it only does this when I only specify the root
domain like that. If I do mail.domain.com 10.10.10.10 and do nslookup
for foo.mail.domain.com everything works as expected. So maybe its
confused that its a domain name without a hostname?
A wildcard host would be ideal but don't think it can be done. I
guess I could configure true split DNS in the router but that would
mean maintaining an external DNS server, which I do have but its
overkill.
This causes issues on my network as it load balances and half the time
doesn't work.
.
Relevant Pages
- Re: Networking Questions
... The DNS address is sent as a secondary element, mostly because there's no point for nearly all internet connections without DNS. ... The PC asks for an address by sending a DHCP request out the route to the DSL device which is either a modem or a router. ... No need for DNS until host names get involved and those hosts are on a different network segment. ... (comp.sys.ibm.as400.misc) - XP DNS stopped working?
... Since then, it has been impossible to access the internet with IE or OE: page not found, server not found etc. ... All other PCs connected to the router continue to function normally. ... The DNS server addresses in the PC are fine. ... Going back to the DNS failure, I put a valid host entry in the hosts file, and it was possible to access the host using its FQDN. ... (microsoft.public.windowsxp.network_web) - Re: XP DNS stopped working?
... similar low system resources type error messages eventho I had plenty of RAM ... connected to the router continue to function normally. ... www.bbc.co.uk) I get host unknown responses, as if DNS isn't working. ... (microsoft.public.windowsxp.basics) - Re: Networking Questions
... The DNS address is sent as a secondary element, mostly because there's no point for nearly all internet connections without DNS. ... The PC asks for an address by sending a DHCP request out the route to the DSL device which is either a modem or a router. ... No need for DNS until host names get involved and those hosts are on a different network segment. ... DNS is mostly just a very glorified hosts table that includes addresses in all network address ranges. ... (comp.sys.ibm.as400.misc) - Re: Fairly new to DNS ... few Questions
... ISP hosted DNS should have an A record pointing for your ... exteranal web host pointing to the address on the outside of your router. ... If you are not you will want to modify the "host" file on your workstation ... a security risk if the server ... (microsoft.public.windows.server.dns) |
|