01-17-2020
One of the two DNS server going down causes impacts
Our computing enviornment consists for Linux, Solaris , AIX, Windows. /etc/resolv.conf file of each *nix has two entries. When the 2nd one goes down we are seeing impacts on AIX hosted services. We are breaking our head, to no avail yet. We have not seen any impact on non-AIX hosted services. While 2nd DNS server remains down, nslookup returns hostnames immediately.
We are trying to avoid running tcpdump, and was trying to capture DNS traffic from client through netstat. But netstat does not capture DNS traffic either.
Would you please give us a hand?
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I'm running on UNIX with Solaris. I need to change the Timezone on the box and was going to make the changes to the files and then reboot the box.
Someone warned me that this method should not be used and that a util (unconfig.sys I think it was) should be used to make the changes.
Any ideas... (2 Replies)
Discussion started by: Lextar
2 Replies
2. UNIX for Dummies Questions & Answers
Hi all,
I need to know step by step procedure to configure and to test a dns server on redhatlinux 7.2.
thanks and reg,
bache gowda (4 Replies)
Discussion started by: bache_gowda
4 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I would like to create an internal webpage for my company that would only be viewable when connected to the VPN or internal network. I want a webpage like newsite.company.com. Is there a way to do this. We obviously already have www.company.com, but how would I go about creating the newsite.... (1 Reply)
Discussion started by: ejbrever
1 Replies
4. UNIX for Dummies Questions & Answers
Using Redhat Linux Enterprise AS 4
can someone teach me how to setup a dns server for my webserver?
i've registered a domainname at mydomain.com
but when i type in the domain i register i cannot enter to my webserver.
someone told me that it is related with the DNS setting on my server.
i've... (2 Replies)
Discussion started by: kaixiang88
2 Replies
5. Solaris
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
6. HP-UX
Hi,
We are currently using the aCC 3.13 compiler in HP-UX 11.0 but we need to upgrade the aCC compiler version from aCC 3.13 to aCC3.31.
1. Is there any major impact of update the compiler?
2. What are the major things we need to make sure before updating the compiler?
Can any one guide... (2 Replies)
Discussion started by: gyanusoni
2 Replies
7. AIX
In our operating procedures, if a workstation has a space problem in the /var filesystem, one of the most frequent case we were told is the size of the /var/adm/wtmp file.
Someone once told me it is dangerous to do this. Is it ?
I cannot say for certain that whomever wrote that procedure is... (2 Replies)
Discussion started by: Browser_ice
2 Replies
8. UNIX for Advanced & Expert Users
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
9. Solaris
Hi Team,
I need to find the clients which are being served by the DNS server in our environment.
The approach currently i am having is to look for the DNS server IP in nameserver IP in the /etc/resolv.conf file in all the servers in our environment.
Do we have any command(s) which gives... (1 Reply)
Discussion started by: vishalaswani
1 Replies
10. Solaris
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
LEARN ABOUT DEBIAN
net::nslookup
Net::Nslookup(3pm) User Contributed Perl Documentation Net::Nslookup(3pm)
NAME
Net::Nslookup - Provide nslookup(1)-like capabilities
SYNOPSIS
use Net::Nslookup;
my @addrs = nslookup $host;
my @mx = nslookup(type => "MX", domain => "perl.org");
DESCRIPTION
"Net::Nslookup" provides the capabilities of the standard UNIX command line tool nslookup(1). "Net::DNS" is a wonderful and full featured
module, but quite often, all you need is `nslookup $host`. This module provides that functionality.
"Net::Nslookup" exports a single function, called "nslookup". "nslookup" can be used to retrieve A, PTR, CNAME, MX, NS, SOA, and TXT
records.
my $a = nslookup(host => "use.perl.org", type => "A");
my @mx = nslookup(domain => "perl.org", type => "MX");
my @ns = nslookup(domain => "perl.org", type => "NS");
my $name = nslookup(host => "206.33.105.41", type => "PTR");
"nslookup" takes a hash of options, one of which should be term, and performs a DNS lookup on that term. The type of lookup is determined
by the type argument. If server is specified (it should be an IP address, or a reference to an array of IP addresses), that server(s) will
be used for lookups.
If only a single argument is passed in, the type defaults to A, that is, a normal A record lookup.
If "nslookup" is called in a list context, and there is more than one address, an array is returned. If "nslookup" is called in a scalar
context, and there is more than one address, "nslookup" returns the first address. If there is only one address returned, then, naturally,
it will be the only one returned, regardless of the calling context.
domain and host are synonyms for term, and can be used to make client code more readable. For example, use domain when getting NS records,
and use host for A records; both do the same thing.
server should be a single IP address or a reference to an array of IP addresses:
my @a = nslookup(host => 'example.com', server => '4.2.2.1');
my @a = nslookup(host => 'example.com', server => [ '4.2.2.1', '128.103.1.1' ])
By default, when doing CNAME, MX, and NS lookups, "nslookup" returns names, not addresses. This is a change from versions prior to 2.0,
which always tried to resolve names to addresses. Pass the recurse => 1 flag to "nslookup" to have it follow CNAME, MX, and NS lookups.
Note that this usage of "recurse" is not consistent with the official DNS meaning of recurse.
# returns soemthing like ("mail.example.com")
my @mx = nslookup(domain => 'example.com', type => 'MX');
# returns soemthing like ("127.0.0.1")
my @mx = nslookup(domain => 'example.com', type => 'MX', recurse => 1);
SOA lookups return the SOA record in the same format as the `host` tool:
print nslookup(domain => 'example.com', type => 'SOA');
dns1.icann.org. hostmaster.icann.org. 2011061433 7200 3600 1209600 3600
TIMEOUTS
Lookups timeout after 15 seconds by default, but this can be configured by passing timeout => X to "nslookup".
DEBUGGING
Pass debug => 1 to "nslookup" to emit debugging messages to STDERR.
AUTHOR
darren chamberlain <darren@cpan.org>
perl v5.12.4 2011-08-15 Net::Nslookup(3pm)