06-30-2007
Quote:
Originally Posted by
earlysame55
Correct me if i'm wrong.
That is indeed correct, however
1. deregistering a DNS name does not cause arp caches to get flushed.
2. deregistering a DNS name at a server does not affect client caches where the name is still considered valid for the timeout that the DNS server previously reported.
3. arp caches can be added to and deleted manually and dynamic entries typically have a relatively short timeout.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
hi,
What is the difference between UBC cache and Metadata cache ? where can i find UBC cache Hits and Metadata cache Hits in hp-ux?
Advanced thanx for the help. (2 Replies)
Discussion started by: sushaga
2 Replies
2. IP Networking
how can we spoof ethernet by ARP cache poisoning on unix through a program...
can anyone post the source code to achieve this... (1 Reply)
Discussion started by: ud4u
1 Replies
3. HP-UX
I was checking nettl output for a unstable telnet to my server. this is part of output:
###
***********************************STREAMS/UX*******************************@#%
Timestamp : Sun Jun 22 EETDST 2008 22:14:47.492899
Process ID : Subsystem ... (4 Replies)
Discussion started by: xramm
4 Replies
4. Red Hat
Dear All
i have a linux proxy server which has RHEL-5 64 bit, it has two interfaces, it has the following details
eth0=10.200.14.42
eth3=10.201.14.42
default gateway=10.201.14.254
one static route=192.168.0.0/24 gw 10.200.14.254
i am facing a problem when i ping 10.201.14.42 from... (2 Replies)
Discussion started by: surfer24
2 Replies
5. Programming
Hello,
I need help on how to "access" or manipulate the Linux ARP Cache in C, here is the description of the project i'm working in:
There are a lot of tools that analize ARP frames and send an e-mail to the sysadmin, that's easy. What i want to do is to inspect every ARP frame that arrives... (18 Replies)
Discussion started by: semash!
18 Replies
6. Linux
Hi all
I saw in Microsoft web site www.SysInternals.com a tool called CoreInfo from able to print out on screen the size of the Data and Instruction caches of your processor, the Locigal to Physical Processor mapping, the number of the CPU sockets. etc..
Do you know if in Linux is available a... (2 Replies)
Discussion started by: manustone
2 Replies
7. Linux
Hi All,
could any one point out any open source test-suites for "File cache" testing and as well as performance test suites for the same. Currently my system is up with Linux/ext4.
Regards
Manish (0 Replies)
Discussion started by: hmanish
0 Replies
8. UNIX for Advanced & Expert Users
Can someone please explain this output to me. Why doesn't ifconfig show the same info?
~ $ arp -a
? (10.71.0.1) at 00:1b:21:2b:eb:0c on eth0 (4 Replies)
Discussion started by: cokedude
4 Replies
9. IP Networking
Hello,
I have 2 clients with Unix installed.
host1: eth0 (192.168.5.10) & eth1 (192.168.10.10)
host2: eth0 (192.168.10.20)
I've connected host1-eth1 to host2-eth0. host1-eth0 isn't connected.
I started 'tcpdump' on wonder that host2 got ARP requests for 192.168.5.10.
Any idea why host1... (2 Replies)
Discussion started by: daWonderer
2 Replies
10. War Stories
A customer appears to have drastically misunderstood our instructions for connecting to our WAN. He set his PC IP address to the same as one of the bridges. :mad: :wall: This caused much confusion on the network, to put it mildly. He called to complain about the poor performance of the network... (13 Replies)
Discussion started by: Corona688
13 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)