Guy's
Pls provide me the exact DNS parameter that needs to be defined in resolv.conf
Pls assist in this ...
Guy's
Pls provide me the exact DNS parameter that needs to be defined in resolv.conf
Pls assist in this ...
this is how my resolv.conf looks like, on both AIX 5.3 and 6.1
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
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:
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?
thanks zaxxon, good catch, anyway it's unclean but not wrong, the domain option is simply ignored
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
Simple DNS Setup HOWTO:
/etc/netsvc.conf
hosts = local, bind
(this way, server will refer to local /etc/hosts to resolve name first, then uses BIND/DNS services)
/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 )
To test:
# nslookup Google
# nslookup <any IP/hostname in your network>
regards
Fadzli
Malaysia