05-01-2012
nsswitch.cof is for NIS client config
this is not related to DNS
10 More Discussions You Might Find Interesting
1. IP Networking
I really need help here.
I am trying to sort out dns on a linux machine, but no matter what i do it just doesnt seem to work. I am sorting out dns for a domain, but even after putting the entries in /etc/named.boot for the localhost nslookup to work, referencing the correct file in /var/named -... (4 Replies)
Discussion started by: alwayslearningunix
4 Replies
2. UNIX for Advanced & Expert Users
I have installed a linux 9 router/firewall and have issues with outside DNS queries making it in. here are my IPTABLE rules, can anyone make some suggestions?
ETH1 is my outside facing Interface, ETH0 is my inside facing interface.
Accept If input interface is not eth1
Accept If protocol is... (1 Reply)
Discussion started by: frankkahle
1 Replies
3. UNIX for Advanced & Expert Users
Hi,
I'm currently setting up a custom DVD RedHat install. I was wondering if anybody would know how to have linux install a custom host file (/etc/hosts and hosts.allow) ?
Thanks (1 Reply)
Discussion started by: Georgesaa
1 Replies
4. UNIX for Dummies Questions & Answers
I have sendmail setup to relay through my external ISP. Everything was working fine until I started getting the error message (below). I don't what I did to cause this? I have read a number of related posts and it appears that I might need to configure the sending address of my server to appear... (0 Replies)
Discussion started by: simonmason
0 Replies
5. 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
6. UNIX for Dummies Questions & Answers
Hi,
I want to know the commands for adding a linux host to windows active directory domain.
Request you to please help.
Thanks & Regards
Arun (1 Reply)
Discussion started by: Arun.Kakarla
1 Replies
7. Solaris
Hello All,
Host - Windows 7 64 BIT
Guest OS - Solaris 10 64 on VMWARE workstation
Problem : I can not ping solaris VM from my host OS. please suggest the solution.
Host OS:ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : INPS01900LT
... (5 Replies)
Discussion started by: sunil_1111
5 Replies
8. UNIX for Dummies Questions & Answers
We are currently using the famous script H2N to create our DNS zone files from a host file. However, we are moving to IPV6 soon and this script doesnt support IPV6. Is there another script/solution to creating DNS zones via a host file input? (0 Replies)
Discussion started by: jpolachak
0 Replies
9. Solaris
We are currently using the famous script H2N to create our DNS zone files from a host file. However, we are moving to IPV6 soon and this script doesnt support IPV6. Is there another script/solution to creating DNS zones via a host file input? Is there another solution or way to do things that I may... (0 Replies)
Discussion started by: jpolachak
0 Replies
10. HP-UX
Hi
ever since we´ve added the server in DNS, sendmail stopped working, but everything seems to be configured properly although in the mail logs we see:
Jul 10 16:52:58 itc01 sendmail: t6AEqrHT005593: from=root, size=6, class=0, nrcpts=1, msgid=<201507101452.t6AEqrHT005593@itc01.headquarter.tmm>,... (3 Replies)
Discussion started by: fretagi
3 Replies
LEARN ABOUT DEBIAN
net::dns::async
Net::DNS::Async(3pm) User Contributed Perl Documentation Net::DNS::Async(3pm)
NAME
Net::DNS::Async - Asynchronous DNS helper for high volume applications
SYNOPSIS
use Net::DNS::Async;
my $c = new Net::DNS::Async(QueueSize => 20, Retries => 3);
for (...) {
$c->add(&callback, @query);
}
$c->await();
sub callback {
my $response = shift;
...
}
DESCRIPTION
Net::DNS::Async is a fire-and-forget asynchronous DNS helper. That is, the user application adds DNS questions to the helper, and the
callback will be called at some point in the future without further intervention from the user application. The application need not handle
selects, timeouts, waiting for a response or any other such issues.
If the same query is added to the queue more than once, the module may combine the queries; that is, it will perform the query only once,
and will call each callback registered for that query in turn, passing the same Net::DNS::Response object to each query. For this reason,
you should not modify the Net::DNS::Response object in any way lest you break things horribly for a subsequent callback.
This module is similar in principle to POE::Component::Client::DNS, but does not require POE.
CONSTRUCTOR
The class method new(...) constructs a new helper object. All arguments are optional. The following parameters are recognised as arguments
to new():
QueueSize
The size of the query queue. If this is exceeded, further calls to add() will block until some responses are received or time out.
Retries
The number of times to retry a query before giving up.
Timeout
The timeout for an individual query.
METHODS
$c->add($callback, @query)
Adds a new query for asynchronous handling. The @query arguments are those to Net::DNS::Resolver->bgsend(), q.v. This call will block
if the queue is full. When some pending responses are received or timeout events occur, the call will unblock.
The user callback will be called at some point in the future, with a Net::DNS::Packet object representing the response. If the query
timed out after the specified number of retries, the callback will be called with undef.
$c->await()
Flushes the queue, that is, waits for and handles all remaining responses.
BUGS
The test suite does not test query timeouts.
SEE ALSO
Net::DNS, POE::Component::Client::DNS
COPYRIGHT
Copyright (c) 2005-2006 Shevek. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.10.0 2008-10-03 Net::DNS::Async(3pm)