DNS in AIX 6.1


 
Thread Tools Search this Thread
Operating Systems AIX DNS in AIX 6.1
# 1  
Old 05-03-2010
DNS in AIX 6.1


Guy's

Pls provide me the exact DNS parameter that needs to be defined in resolv.conf

Pls assist in this ...
# 2  
Old 05-03-2010
this is how my resolv.conf looks like, on both AIX 5.3 and 6.1

Code:
nameserver      xxx.xxx.xxx.xx1
nameserver      xxx.xxx.xxx.xx2
domain domain.at
search domain.at domain2.at sub.domain.at sub.2.domain.at
options         attempts:1
options         timeout:1

# 3  
Old 05-03-2010
domain and search is a no go. Usually people only use search with up to max. 6 domains as parameter, including that of the host.

See zxmaus' post in this thread here incl. the link to th documentation:
RSH command is giving error (connection refused)

http://publib.boulder.ibm.com/infoce...esolv.conf.htm

Last edited by zaxxon; 05-03-2010 at 12:03 PM.. Reason: added IBM Infocenter link
# 4  
Old 05-03-2010
funksen, I tried changing the "options attempts:1" and "options timeout:1" to varying values. I then changed my first and second "nameserver" entries to non-responding IP addresses. When I run something like "time nslookup yahoo.com", it always takes 2 seconds regardless of the values I put in for those 2 options. I don't have to restart anything after making those changes do I?
# 5  
Old 05-03-2010
thanks zaxxon, good catch, anyway it's unclean but not wrong, the domain option is simply ignored


Quote:
timeout
Enables you to specify the initial timeout for a query to a nameserver. The default value is five seconds. The maximum value is 30 seconds. For the second and successive rounds of queries, the resolver doubles the initial
timeout and is divided by the number of nameservers in the resolv.conf file.
this is from aix6.1 "man resolv.conf"

setting timeout to 10 on aix5.3 leads to exactly 10s wait time, setting it on aix6.1 leads to one second wait time, seems to be a bug, or something in the behaviour has changed on aix6.1 and not yet documented in the man page
# 6  
Old 05-24-2010
Simple DNS Setup HOWTO:

1. /etc/netsvc.conf
hosts = local, bind
(this way, server will refer to local /etc/hosts to resolve name first, then uses BIND/DNS services)

2. /etc/resolv.conf
nameserver 200.1.xx.xxx
nameserver 200.15.xx.xxx
domain zz.my
search zz.my dns01.intra.zz dns02.intra.zz
(xx= ur DNS server IP, zz=your domain name )

3. To test:
# nslookup Google
# nslookup <any IP/hostname in your network>

regards
Fadzli
Malaysia
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

DNS client added to DNS server but not working

Hi, We have built a new server (RHEL VM)and added that IP/hostname into dns zone configs file on DNS server (Solaris 10). Reloaded the configuration using and added nameserver into resolv.conf on client. But when I am trying nslookup, its not getting resolved. The nameserver is not able to... (8 Replies)
Discussion started by: snchaudhari2
8 Replies

2. Red Hat

DHCP & DNS - Clients get IP but don't register in DNS

I am trying to setup a CentOS 6.2 server that will be doing 3 things DHCP, DNS & Samba for a very small office (2 users). The idea being this will replace a very old Win2k server. The users are all windows based clients so only the server will be Linux based. I've installed CentOS 6.2 with... (4 Replies)
Discussion started by: FireBIade
4 Replies

3. AIX

DNS configuration on AIX 6.1

Hello All, I want to install ORACLE RAC on AIX 6.1. In the installation guide. the below two points were mentioned: Each node must have at least two network adapters or network interface cards (NICs): one for the public network interface, and one for the private network interface (the... (2 Replies)
Discussion started by: beayni33
2 Replies

4. AIX

How to add/remove additional DNS and IP to AIX

Hello, How to add/remove additional DNS and IP to AIX ? I wanted to add 3 more new DNS and IP addresses to existing AIX 5.2. (1 Reply)
Discussion started by: balareddy
1 Replies

5. AIX

DNS with chroot in aix 5.3

i am planning to configure the DNS server with restricted environment by chroot. Can anybody help me that what are all the filesets required to configure DNS with Chroot for aix 5.3 os. And also i need to run the bind with non root user. How can i configure that. I tried googling and... (1 Reply)
Discussion started by: kmvinay
1 Replies

6. UNIX for Advanced & Expert Users

DNS server choice: Windows DNS vs Linux BIND

I'd like to get some opnions on choosing DNS server: Windows DNS vs Linux BIND comparrsion: 1) managment, easy of use 2) Security 3) features 4) peformance 5) ?? I personally prefer Windows DNS server for management, it supports GUI and command line. But I am not sure about security... (2 Replies)
Discussion started by: honglus
2 Replies

7. AIX

DNS is hang in AIX 6.1

Guy's I have configured DNS like the below but I faced another issue ! nameserver 172.18.14.7 nameserver 172.18.14.8 domain domain.com When I ping any Host from the server itself its replaying me the IP of that hosts that's mean DNS is working fain but when I try to ftp or telnet... (8 Replies)
Discussion started by: Mr.AIX
8 Replies

8. AIX

How to add DNS entry in AIX 5.3

we have using windows 2003 server as DNS Server, now we want add dns entry in AIX 5.3 server. can any body help (1 Reply)
Discussion started by: Balajipoola007
1 Replies

9. Solaris

Solaris DNS Client For Microsoft DNS Server

hey guys, how to add soalris box as a microsoft DNS Client ? and how to register in the microsoft DNS ?? i managed to query from the DNS server after adding /etc/resolve.conf and editing /etc/nsswitch.conf but i need to register the soalris server (dns Client) into Microsoft DNS automatically.... (3 Replies)
Discussion started by: mduweik
3 Replies

10. UNIX for Advanced & Expert Users

how to send mail from aix to lotus with dns

hi , before installing dns on my server, all was ok I was able to send message from aix to my lotus notes server thanks to this command: mail -v aaaaaaaaaa@bbbbbbb.fr in my /etc/hosts , there was xx.xx.xx.xx lotus xx.xx.xx.xx server name in my... (3 Replies)
Discussion started by: hubert
3 Replies
Login or Register to Ask a Question