i’ve installed openSUSE 11.2 on my laptop and experiencing a really strange network problem.
In short: browsing the internet with domain names does not work.
The long version:
I’ve configured my network with DHCP and ifup.
Ping works on my internal net and with servers in the internet.
Dig work’s too! I get the right IP to the requested domain.
When i try to access the internet using firefox or even wget i get an DNS error.
For example wget is showing the following error:
Resolving heise.de… failed: Name or service not known.
wget: unable to resolve host address ‘heise.de’
Again dig show me the right IP and if i add the entry to /etc/hosts it work’s too!
I’ve even tried it with manually setup of ip address, nameserver and default gateway but with the same result. Switching off the firewall has no effect on this problem, too.
I know how to configure the network. I’m using SuSE for several years. I’ve never had a similar problem. If the nameservers would be wrong i wouldn’t get result from dig [domainname].
The laptop worked without any problems with 11.0 before. First try was to upgrade to 11.2 - see above problem. After that i made a fresh installation - with the same result.
>
> swerdna;2181396 Wrote:
>> Maybe you got the nameservers wrong.
>
> I know how to configure the network. I’m using SuSE for several years.
> I’ve never had a similar problem. If the nameservers would be wrong i
> wouldn’t get result from dig [domainname].
>
> The laptop worked without any problems with 11.0 before. First try was
> to upgrade to 11.2 - see above problem. After that i made a fresh
> installation - with the same result.
>
>
flohbie;
What are the results of:
nslookup google.com
host google.com
–
P. V.
“We’re all in this together, I’m pulling for you.” Red Green
nslookup and host give same result as above…well, except different order of IP’s because of DNS round-robin.
Here it is:
flohbie@laptop:~> cat /etc/resolv.conf
### /etc/resolv.conf file autogenerated by netconfig!
#
# Before you change this file manually, consider to define the
# static DNS configuration using the following variables in the
# /etc/sysconfig/network/config file:
# NETCONFIG_DNS_STATIC_SEARCHLIST
# NETCONFIG_DNS_STATIC_SERVERS
# NETCONFIG_DNS_FORWARDER
# or disable DNS configuration updates via netconfig by setting:
# NETCONFIG_DNS_POLICY=''
#
# See also the netconfig(8) manual page and other documentation.
#
# Note: Manual change of this file disables netconfig too, but
# may get lost when this file contains comments or empty lines
# only, the netconfig settings are same with settings in this
# file and in case of a "netconfig update -f" call.
#
### Please remove (at least) this line when you modify the file!
nameserver 194.145.226.26
>
> venzkep;2181940 Wrote:
>>
>> Try disabling IPv6. …]
>>
>> I’m not positive that this will solve your problem, but at least you
>> will have
>> removed one possible cause.
>>
>
> You’re right. It hasn’t solved my problem. IPv6 is disabled:
>
> Code:
> --------------------
>
> laptop:/home/flohbie # cat /proc/sys/net/ipv6/conf/all/disable_ipv6
> 1
>
> --------------------
>
>
> nslookup and host give same result as above…well, except different
> order of IP’s because of DNS round-robin.
>
>
> vodoo;2182170 Wrote:
>> Great. Can you show us what’s in your /etc/resolv.conf anyway? There is
>> the reason why fresh installs of 11.2 may fail with networking.
>
> Here it is:
>
> Code:
> --------------------
>
> flohbie@laptop:~> cat /etc/resolv.conf
> ### /etc/resolv.conf file autogenerated by netconfig!
<snip>
> #
> ### Please remove (at least) this line when you modify the file!
> nameserver 194.145.226.26
>
> --------------------
>
flohbie;
I had high hopes for disabling IPv6, alas it is no solution. Your query of
194.145.226.26 gave a warning message “Warning: query response not set” which
could indicate a problem with the configuration on that server. I could also
reproduce that error with a query from N. America on your dns server, but
today it no longer returns the warning. Just in case see if changing dns
servers would help. You could try the Google Public DNS (8.8.8.8 and
8.8.4.4) See: http://code.google.com/speed/public-dns/
Have you tried any other browser than Fire Fox? It may be that FF is set to
work off line or something. That of course does not explain wget. Does this
effect all users on your machine? You could try creating a new user just to
check. If this doesn’t help, I’m fresh out of ideas.
–
P. V.
“We’re all in this together, I’m pulling for you.” Red Green
Thanks. This NS seems to work. At least it does with dig. But the output shows the following:
~> dig @194.145.226.26 www.switch.ch
;; Warning: query response not set
; <<>> DiG 9.5.0-P2 <<>> @194.145.226.26 www.switch.ch
; (1 server found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28036
;; flags: rd; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;www.switch.ch. IN A
;; ANSWER SECTION:
www.switch.ch. 60 IN CNAME aslan.switch.ch.
aslan.switch.ch. 5361 IN A 130.59.108.36
;; Query time: 76 msec
;; SERVER: 194.145.226.26#53(194.145.226.26)
;; WHEN: Tue Jun 29 13:20:45 2010
;; MSG SIZE rcvd: 67
I have marked the relevant line in red. This NS does no recursion. dig will do it for you, so this works, but FF or SeaMonkey expect a fully resolved response and fail miserably. Using another DNS server (like google’s public server) should work. Can you confirm?
That’s it! Changing the nameserver was the solution. What i still not understand is why does my desktop with OpenSuSE 11.1 works with the same network configuration and OpenSuSE 11.2 doesn’t?
>
> venzkep;2182228 Wrote:
>> On Mon June 28 2010 12:46 pm, flohbie wrote:
>> …] You could try the Google Public DNS (8.8.8.8 and
>> 8.8.4.4) See: ‘Google Public DNS’
>> (http://code.google.com/speed/public-dns/)
>>
>
> That’s it! Changing the nameserver was the solution. What i still not
> understand is why does my desktop with OpenSuSE 11.1 works with the same
> network configuration and OpenSuSE 11.2 doesn’t?
>
> Nevertheless…thanks for the help.
>
>
flohbie;
Was 11.1 working in the same time frame as ll.2? I was observing some
instability in that name server. The warnings reported by dig, nslookup and
host seemed to come and go.
P. V.
“We’re all in this together, I’m pulling for you.” Red Green