Sponsored Content
Special Forums IP Networking How to block IP Neigbours DNS query? Post 302881262 by DGPickett on Friday 27th of December 2013 12:17:37 PM
Old 12-27-2013
In a right world, there would be one A record and one PTR for the ip-name pair. For aggressive web hosting, many names resolve to the same IP, either by CNAME or, sadly, additional A records. Is this a need to block web access to all names that go to one IP? An IP block seems more normal. However, for a group of hosts all using the same DNS servers to reach the Internet, you can place CNAME or A records closer to them that will resolve the name to a different address. I once helped a customer set up an AOL proxy on their firewall that way. Everyone behind the firewall thought the firewall host was also some AOL host due to the misplaced A record on the firewall DNS, and the AOL port was a pass through to the real AOL servers.
 

10 More Discussions You Might Find Interesting

1. 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

2. Solaris

Which lookup tool query both hosts and DNS server?

As i understand, host/nslookup/dig only query DNS server to resolve name to ip. ping can query both, but it seems if ping is blocked, ping won't return IP. traceroute can query both, but i am not able to test if traceroute is blocked, What is the result? Neither ping/traceroute is... (3 Replies)
Discussion started by: honglus
3 Replies

3. Shell Programming and Scripting

Query Oracle tables and return values to shell script that calls the query

Hi, I have a requirement as below which needs to be done viz UNIX shell script (1) I have to connect to an Oracle database (2) Exexute "SELECT field_status from table 1" query on one of the tables. (3) Based on the result that I get from point (2), I have to update another table in the... (6 Replies)
Discussion started by: balaeswari
6 Replies

4. 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

5. Red Hat

DNS A-Record point to another DNS

Hi, I have a question on how to point the DNS server-1's A-record to second DNS server, which is DNS server-2. So, the computer can access other domain which only listed in the DNS server-2. The scenario is as follow: http://img689.imageshack.us/img689/6333/12234.png How to configure this... (4 Replies)
Discussion started by: Paris Heng
4 Replies

6. 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

7. Red Hat

Query about Block Level Migration

Hi We are planning to migrate to a new SAN storage environment. Our RHEL5.5 servers boot over SAN. 1. I was wondering if using "lvm mirroring" or "pvmove" would be a solution. 2. Do they do block level transfer? Thanks (1 Reply)
Discussion started by: ikn3
1 Replies

8. 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

9. UNIX for Beginners Questions & Answers

What determines DNS will query IPV6 address?

When I do simple nslookup it does not generate any query for IPV6 (AAAA). But sometimes I see DNS query for both A and AAAA are generated. What decides this? The reason I do not want AAAA query is in most of the cases AAAA records are absent. Hence, if one DNS server fails, the clients keeps... (1 Reply)
Discussion started by: broy32000
1 Replies

10. UNIX for Beginners Questions & Answers

Linux is not appending domain name in DNS query

In my /etc/resolv.conf file there is domain name defined. But when I do nslookup the domain name is not appended. Why? (18 Replies)
Discussion started by: broy32000
18 Replies
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)
All times are GMT -4. The time now is 01:44 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy