Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Resolving names to remote DNS

Status
Not open for further replies.

gaylel

Programmer
Apr 27, 2001
8
US
Hello,

I am new to DNS and am trying to set up my RS/6000 running AIX4.3 to resolve names to ip addresses using our W2K DNS Server. Would appreciate any help.
 
Gaylel,

Simply,

Add the IP address and hostname of the DNS server into /etc/hosts

Then

smitty tcpip - min. config.

In the nameserver field add the IP address of the DNS server.

Press return

This creates an /etc/resolv.conf file.

Then set up name resolution ordering:

touch /etc/netsvc.conf

chmod 600 /etc/netsvc.conf

vi /etc/netsvc.conf

Add into the file:

hosts=local,bind4

Save the file.

This means that all no local address i.e. not in /etc/hosts are resolved on the name server.

Check it works via:

nslookup <hostname>

That is it in a nutshell

Cheers
PSD
IBM Certified Specialist - AIX V4.3 Systems Support
IBM Certified Specialist - AIX V4 HACMP
 
Thanks for your response.

I did as instructed, but nslookup fails with the following message:

*** xxx.xxx.xxx can't find yyy:Server failed

Any suggestions?
Thanks.
 
using smit:

# smit tcpip
-Minimum Configuration & Startup
-Choose Available Network Interfaces [en0, mine use this]
-look and fill-up below - * means a must.

==================================================
* HOSTNAME [bjork]
* Internet ADDRESS (dotted decimal) [xx.xx.xx.xx]
Network MASK (dotted decimal) [xx.xx.xx.xx]
* Network en0
NAMESERVER
Internet ADDRESS (dotted decimal) [xx.xx.xx.xx]
DOMAIN Name [kewl-serv]
Default GATEWAY Address [xx.xx.xx.xx]
(dotted decimal or symbolic name)
Your CABLE Type N/A
START Now no
==================================================

sometimes - if you have existing Name_server config installed, you can't just overwrite it. you have to flush it out - to clear out, then RE-DO/RE-Enter a new one.



 
Got It!!!!!!!!!!!!

Problem on DNS Server

Thanks for your help!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top