OESF Portables Forum
Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: seekyrr on September 16, 2004, 03:45:58 pm
-
I can ping my dns server from the Z on cradle. If I add an entry into hosts it can resolve. When I add my dns server into /etc/resolv.conf it can't resolve.
Any ideas?
Thanks
J.
-
You are adding lines like...
nameserver 10.1.0.1
right ?
-
I was just puting the IP ..One per line like
xxx.xxx.xxx.xxx
xxx.xxx.xxx.xxx
J.
-
The format should be similar to what iamasmith posted. The intent is to say 'resolve this host name to this IP address'
localhost 127.0.0.1
martysmulebarn 129.0.0.1
mcdonaldland 192.168.0.14
Give it a shot.
-
I was told the resolv.conf was where to put the DNS servers.
So I put
DNS1 xxx.xxx.xxx.xxx
?
Thnaks
J.
-
mike@localhost> cat resolv.conf
# resolv.conf
# 08-29-02
# search .
# domain ampr.org
nameserver 204.15.125.1
nameserver 204.15.125.2
# nameserver 44.56.26.11
mike@localhost>
-
The format should be similar to what iamasmith posted. The intent is to say 'resolve this host name to this IP address'
localhost 127.0.0.1
martysmulebarn 129.0.0.1
mcdonaldland 192.168.0.14
Give it a shot.
Ling, that's the format for a host file.
The format for resolv.conf should definely be...
nameserver x.x.x.x
nameserver y.y.y.y
etc.
i.e.
nameserver 10.1.0.1
nameserver is not a label, it's a directive for the resolver.
- Andy
-
Ty guys.
Got it going now..thanks!!
John