LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-23-2006, 10:21 AM   #1
crash88
Member
 
Registered: May 2006
Posts: 39

Rep: Reputation: 15
question about dns


I changed the ip to one host on my lan and it won't resolve. I restarted bind thinking it would automatically start resolving for the machine I changed the ip address on. Does this have something to do with the value in refresh in one of the files? If that's the case, I'm assuming there's a cache somewhere. If so, how could I change it right away without waiting? Thanks in advance.
 
Old 06-23-2006, 10:58 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
restarting BIND does flush the cache out, so that's not your problem. what your problem seems to be is that you just change an IP address on a box without reflecting the change in BIND's zone files. how is BIND supposed to know your address has changed? you coul dbe doin gthis with automated updates via DHCP, but i'd assume this is not the case from the way you have asked the question.
 
Old 06-23-2006, 12:27 PM   #3
crash88
Member
 
Registered: May 2006
Posts: 39

Original Poster
Rep: Reputation: 15
sorry I wasn' tclear. I did change the ip address in bind. it just won't resolve properly when I try to ping the host. The problem is something like this:
dig earth.antilogy.net: this resolves to the correct address.
ping earth.antilogy.net: this resolves to 192.168.1.4 (should be *.*.*.3
 
Old 06-23-2006, 02:19 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
that would suggest a local cache issue. by definition a BIND server isn't going to cache a name that it holds a zone file for. what happens if you do a full zone transfer on your domain - "dig antilogy.net axfr @bindipaddresshere" that'll dump the authoritative zone file right on your lap if BIND allows it.
 
Old 06-23-2006, 02:53 PM   #5
crash88
Member
 
Registered: May 2006
Posts: 39

Original Poster
Rep: Reputation: 15
everything I do through dns (host earth, dig earth, etc) will turn up correctly. the zone transfer showed everything correctly, but a simple ping will show the last octet as .4 instead of .3. My dns server is also a bridge so the interface's name is "venus". I can't get the machine "earth" to resolve either so my windows box is useless for any kind of internet usage. I've looked through every zone file and they all show earth as 192.168.1.3. Dunno what the deal is. Thanks for your help though.
 
Old 06-23-2006, 03:22 PM   #6
scowles
Member
 
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31
Does your /etc/hosts file possibly contain the original .3 entry? Ping will use your systems resolver lib configuration (usually hosts/bind), while dig only uses bind.

As for your winders box...

1) check that its DNS config is pointing to the correct address
2) type: "ipconfig /flushdns" in a command prompt
3) try disabling the "DNS client" service
 
Old 06-24-2006, 02:32 PM   #7
crash88
Member
 
Registered: May 2006
Posts: 39

Original Poster
Rep: Reputation: 15
I'm not at home right now, but come to think of it I think I do have the hosts file with that windows box set with the ip address that's causing the problem. Thanks a bunch.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dns question linuxfunda Linux - Software 4 02-22-2006 04:03 AM
DNS question v2lk Linux - Networking 5 06-26-2005 02:42 PM
DNS Question msamd Linux - Networking 3 05-03-2004 07:13 PM
dns question -- new to dns gadhiraju Linux - Networking 7 05-09-2001 05:59 PM
dns question -- new to dns gadhiraju Linux - General 2 05-09-2001 07:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration