You are not logged in.

#1 2011-08-17 23:23:05

Neshj
Member
Registered: 2011-08-17
Posts: 1

Please help: Linux not resolving any DNS hostanes...

Hi all!
Uhm, My problem sort of started by itself (dunno how) about two weeks ago on my Arch server...
I can't seem to resolve any hostnames. "ping google.com" doesn't work and nothing that need to resolve any hostname responds. my /etc/resolve.conf:

# Generated by dhcpcd
# /etc/resolv.conf.head can replace this line
# /etc/resolv.conf.tail can replace this line
nameserver 80.179.52.100
nameserver 80.179.55.100
search google.com

Where those are the NSs that are supplied by my ISP. and my eth0 in rc.conf is configured statically
eth0="eth0 192.168.1.101 netmask 255.255.255.0 broadcast 192.168.0.255"
and my /etc/nsswitch.conf:


# Begin /etc/nsswitch.conf

passwd: files
group: files
shadow: files

publickey: files

#hosts: files dns
hosts: files mdns4_minimal [NOTFOUND=return] wins dns mdns4
networks: files

protocols: files
services: files
ethers: files
rpc: files

netgroup: files

# End /etc/nsswitch.conf

the "hosts:" is for my network share... it worked before like that.
any idea what's wrong?
Many thx! smile

Offline

#2 2011-08-18 01:20:21

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: Please help: Linux not resolving any DNS hostanes...

Please put file contents between code tags to make your message readable. Thanks.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#3 2011-08-18 01:40:55

jaco
Member
From: Toulouse, France
Registered: 2011-03-17
Posts: 149

Re: Please help: Linux not resolving any DNS hostanes...

Neshj wrote:

Where those are the NSs that are supplied by my ISP. and my eth0 in rc.conf is configured statically
eth0="eth0 192.168.1.101 netmask 255.255.255.0 broadcast 192.168.0.255"

If your IP is 192.168.1.x and your netmask is 255.255.255.0, i really doubt that your broadcast should be 192.168.0.255

Offline

#4 2011-08-18 02:01:42

Mektub
Member
From: Lisbon /Portugal
Registered: 2008-01-02
Posts: 647

Re: Please help: Linux not resolving any DNS hostanes...

Neshj,

as jaco said, your broadcast address is probably wrong.

If that doesn't correct it, try nameserver 8.8.8.8

Mektub


Follow me on twitter: https://twitter.com/johnbina

Offline

#5 2011-08-18 04:35:15

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

Re: Please help: Linux not resolving any DNS hostanes...

Offline

Board footer

Powered by FluxBB