Not resolving name locally

Peter Dambier peter at peter-dambier.de
Mon Apr 17 16:30:06 UTC 2006


There should be a file /etc/hosts/resolv.conf.

Mine says

nameserver 192.168.48.227
nameserver 192.168.208.228
# nameserver 217.57.37.205
nameserver 217.57.37.202

Yours shold have your own server or 127.0.0.1 your local host.


Regards
Peter and Karin


jaredbangs at gmail.com wrote:
> I'm pretty new to bind, so I'm sure there's just something I'm
> overlooking, but....
> 
> I've got record for a domain (let's say test.com), pointing to an
> address (1.1.1.1 for example)
> 
> When I change this record to point to 2.2.2.2, an interesting
> phenomenon occurs. If I do a dig from anywhere external to the DNS
> server (like from dnsstuff.com) the change shows up correctly (pointing
> to 2.2.2.2).
> 
> However, if I do a dig *on* the DNS server, it still comes back with
> the original address 1.1.1.1
> 
> I can create a new record in the same file (new.test.com, for example)
> pointing to the new address and that works both externally and on the
> DNS server itself. But for some reason the change to the original
> record does not seem to get picked up for queries from the server
> itself.
> 
> This seems to be causing me issues with my web server running on that
> box, so I'm hoping that someone out there can point out what I'm doing
> wrong.
> 
> After I change the zone file, I'm just restarting BIND. Is there
> something else that I need to be doing?
> 
> Thanks,
> JB
> 
> 
> 


-- 
Peter and Karin Dambier
The Public-Root Consortium
Graeffstrasse 14
D-64646 Heppenheim
+49(6252)671-788 (Telekom)
+49(179)108-3978 (O2 Genion)
+49(6252)750-308 (VoIP: sipgate.de)
mail: peter at peter-dambier.de
mail: peter at echnaton.serveftp.com
http://iason.site.voila.fr/
https://sourceforge.net/projects/iason/



More information about the bind-users mailing list