How to change the machine default nameserver

Mark Verber verber at pacific.mps.ohio-state.edu
Sun Sep 23 03:53:40 AEST 1990


> The default nameserver of our sun is incorrect.  This is 
> evident by the fact that every it cannot reolve host names.
> When I run "nstest", it polls the address 127.0.0.10 as the
> name server.

Yes.. that address looks rather wrong.  I expect you meant it to be 127.1?
Anyway, you can edit the file /etc/resolv.conf which gives a list of what
name servers you will query.  You can see man resolv.conf(5) for complete
information.

Cheers,
Mark



More information about the Comp.unix.admin mailing list