[opensuse] name resolution doesn't work only from 1 PC
Hello, I have a very strange problem: suddenly I cannot reach the web using domain names from my laptop - and only from my laptop. I can reach any site using the IP-Number, but not with domain names. If I want to log into to the router-PC using ssh with the name, I get the message Temporary failure in name resolution. I can login with the IP-Number... What I don't understand, is that I can use ssh and the web normally on the other computers via the same router-PC - it just doen't work anymore from my laptop. So the name server on the router fully works (I also tried there using the host command and w3m). I havn't changed anything on the laptop. I just shutted it down (while anything worked normally), then started it again later and since then I have this problem. I tried to find any useful info in the logs, but I cannot see anything (which doesn't mean there is no info - I probably just search the wrong files for the wrong words...). Where can I look what happend and how can I find out where the problems are? Thanks for your hints. Daniel some details: Router: PC running SuSE 8.1 with named and firewall (nothing changed there since years, except root.hint from time to time) Laptop: openSuse 10.3, connected per cable via switch to the router above other PC's: openSuse 10.2, working normally Win98, working normally, too all 3 PCs are connected to the router via the same switch. -- Daniel Bauer photographer Basel Switzerland professional photography: http://www.daniel-bauer.com erotic art photos: http://www.bauer-nudes.com/en/linux.html Madagascar special: http://www.fotograf-basel.ch/madagascar/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
while searching my settings to resolve the problem mentioned in my mail below, I saw that my /etc/resolv.conf only contains ### BEGIN INFO # # Modified_by: NetworkManager # Process: /usr/bin/NetworkManager # Process_id: 11276 # ### END INFO I added the usual nameserver and search lines - and now everything works again. But how comes that these lines were gone? I havn't tinkered anything... Can I find out who removed these details and why? thanks for your help. Daniel On Sunday 07 September 2008 21.31:45, Daniel Bauer wrote:
Hello,
I have a very strange problem: suddenly I cannot reach the web using domain names from my laptop - and only from my laptop. I can reach any site using the IP-Number, but not with domain names. If I want to log into to the router-PC using ssh with the name, I get the message
Temporary failure in name resolution.
I can login with the IP-Number...
What I don't understand, is that I can use ssh and the web normally on the other computers via the same router-PC - it just doen't work anymore from my laptop. So the name server on the router fully works (I also tried there using the host command and w3m).
I havn't changed anything on the laptop. I just shutted it down (while anything worked normally), then started it again later and since then I have this problem.
I tried to find any useful info in the logs, but I cannot see anything (which doesn't mean there is no info - I probably just search the wrong files for the wrong words...).
Where can I look what happend and how can I find out where the problems are?
Thanks for your hints.
Daniel
some details:
Router: PC running SuSE 8.1 with named and firewall (nothing changed there since years, except root.hint from time to time)
Laptop: openSuse 10.3, connected per cable via switch to the router above
other PC's: openSuse 10.2, working normally Win98, working normally, too
all 3 PCs are connected to the router via the same switch.
-- Daniel Bauer photographer Basel Switzerland professional photography: http://www.daniel-bauer.com erotic art photos: http://www.bauer-nudes.com/en/linux.html Madagascar special: http://www.fotograf-basel.ch/madagascar/
-- Daniel Bauer photographer Basel Switzerland professional photography: http://www.daniel-bauer.com erotic art photos: http://www.bauer-nudes.com/en/linux.html Madagascar special: http://www.fotograf-basel.ch/madagascar/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Sunday 2008-09-07 at 22:04 +0200, Daniel Bauer wrote:
while searching my settings to resolve the problem mentioned in my mail below, I saw that my /etc/resolv.conf only contains
### BEGIN INFO # # Modified_by: NetworkManager # Process: /usr/bin/NetworkManager # Process_id: 11276 # ### END INFO
I added the usual nameserver and search lines - and now everything works again.
But how comes that these lines were gone? I havn't tinkered anything... Can I find out who removed these details and why?
Who did it, is absolutely clear from the above: "/usr/bin/NetworkManager". I don't use that method, I prefer the traditional ifup whatever, so i can't help you to configure it. My guess is to untick the "modify resolv file" box, if it exists. Alternatively, if you use automatic network config and have a dhcp server on your router, configure it to publish himself as the name server. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFIxDrDtTMYHG2NR9URAqdKAKCTUxvNDk2mfhcUjowKsJFIw+xH3QCdF5bY XcCBQ3cbh2Lxerwf+lxTd/A= =C6gW -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Daniel Bauer wrote:
while searching my settings to resolve the problem mentioned in my mail below, I saw that my /etc/resolv.conf only contains
### BEGIN INFO # # Modified_by: NetworkManager # Process: /usr/bin/NetworkManager # Process_id: 11276 # ### END INFO
I added the usual nameserver and search lines - and now everything works again.
But how comes that these lines were gone? I havn't tinkered anything... Can I find out who removed these details and why?
thanks for your help.
Daniel
Daniel, I experienced something similar yesterday. For the first time in 7 years I had an 11.0 client connecting to a 10.3 server running BIND and getting dynamic updates from dhcp via TSIG. For reasons unexplained, the 11.0 client connection resulted in a corrupt forward zone file for the client's address. You guessed it, No mapping of machine name -to-> IP address. (The TTL and transactional text was there, but no IP??) The reverse zone was properly updated. nsupdate couldn't even fix the problem requiring a manual edit/repair/increment SOA serial just to straighten out the mess. The only thing I can think of would be https://bugzilla.novell.com/show_bug.cgi?id=404663 If it happens again, take a look at your zone files for your domain if you are running BIND (named). The forward and reverse zone will be in /var/lib/named/dyn. I bet there is no forward address in your forward zone file. -- David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Daniel Bauer wrote:
Hello,
I have a very strange problem: suddenly I cannot reach the web using domain names from my laptop - and only from my laptop. I can reach any site using the IP-Number, but not with domain names. If I want to log into to the router-PC using ssh with the name, I get the message
Temporary failure in name resolution.
I can login with the IP-Number...
What I don't understand, is that I can use ssh and the web normally on the other computers via the same router-PC - it just doen't work anymore from my laptop. So the name server on the router fully works (I also tried there using the host command and w3m).
I havn't changed anything on the laptop. I just shutted it down (while anything worked normally), then started it again later and since then I have this problem.
I tried to find any useful info in the logs, but I cannot see anything (which doesn't mean there is no info - I probably just search the wrong files for the wrong words...).
Where can I look what happend and how can I find out where the problems are?
Thanks for your hints.
Daniel
some details:
Router: PC running SuSE 8.1 with named and firewall (nothing changed there since years, except root.hint from time to time)
Laptop: openSuse 10.3, connected per cable via switch to the router above
other PC's: openSuse 10.2, working normally Win98, working normally, too
all 3 PCs are connected to the router via the same switch.
Hi Daniel The first file I'd look at would be the /etc/resolv.conf file to see if it's pointing to the right DNS server. It's possible that you connected with a dynamic IP address that modifed the resolv.conf, then for some reaon it wasn't restored to the correct value on restoring. Can you check if that's OK, e.g. if that nameserver specified is the correct one? Cheers Pete -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sunday 07 September 2008 22:04:45, Pete Connolly wrote:
Daniel Bauer wrote:
I have a very strange problem: suddenly I cannot reach the web using domain names from my laptop - and only from my laptop. I can reach any site using the IP-Number, but not with domain names. If I want to log into to the router-PC using ssh with the name, I get the message
Temporary failure in name resolution.
I can use ssh and the web normally on the other computers via the same router-PC - it just doen't work anymore from my laptop. So the name server on the router fully works
Hi Daniel
The first file I'd look at would be the /etc/resolv.conf file to see if it's pointing to the right DNS server. It's possible that you connected with a dynamic IP address that modifed the resolv.conf, then for some reaon it wasn't restored to the correct value on restoring.
Can you check if that's OK, e.g. if that nameserver specified is the correct one?
Cheers
Pete
Hi Pete, Thanks for your hints that explained me why /etc/resolv.conf was modified. Actually the laptop has two network interfaces (cable + wireless), the one for the cable is set up with fixed IP, gateway address etc. for my home LAN while the wireless is set up for DHCP. After disconnecting the cable and shutting down I went somewhere else with the laptop and - just out of curiosity - tried to connect wireless to an unencrypted wireless network, which then failed. I didn't care about that, because I always have to try several times until it connects, too, on my other location where I have my own wireless router... When back I connected again to the cable - and had the problems mentioned in my earlier mails. So, as you said: for some reason resolv.conf wasn't restored to the correct value on restoring. Now that I know, I don't have to panic anymore about who the hell can change my settings :-) thanks Daniel -- Daniel Bauer photographer Basel Barcelona professional photography: http://www.daniel-bauer.com erotic art photos: http://www.bauer-nudes.com Madagascar special: http://www.fotograf-basel.ch/madagascar/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Carlos E. R.
-
Daniel Bauer
-
David C. Rankin
-
Pete Connolly