There are two types of dns server responses: authoritative and recursive. An internet root server has all of the known IP's cached and updates them constantly. This is analogous to an NTP Level 0 server, if that helps. These root servers are always considered authoritative. Your ISP's dns is mostly recursive - i.e., it goes out and queries another dns server to get an authoritative answer.
Your ISP's dns is authoritative for nodes in its own domain (domain controller or a forest root). dns servers that are authoritative for certain domains advertise them to the outside world, i.e. internet root servers.
will work in Linux as you require. I would consult the dig docset for whatever options it supports.
I am supposed to setup a Domain Name Server, and I don't really know how to do this, can someone either help me, or point me in the direction of a site that has a good explination of how to do this.
Thanks,
Ronnie (5 Replies)
Hello,
I've created new DNS servers and changed all of the clients /etc/resolv.conf to point to them, but when I check the old DNS logs, I see that the clients are still querying it. Does anybody know why?
thanks, (2 Replies)
Hello,
I'm using CentOS 5.3, and I connect to a VPN in order to work. The problem is that I'm constantly accessing things on the local network and the remote network. But once I'm connected to the VPN I can't access local addresses by name, I have to use the ip-address.
What I'd like is to... (4 Replies)
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)
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)
I have read many tutorials on bind and i understand the A,MX, CNAME records.
Internally, on a LAN we can install bind and create all these records and we can tell all PC and servers to use this bind as DNS server.that's fine.
On the Internet, when we have purchased a valid domain like... (5 Replies)
Since a few weeks i use Ubuntu 16 on my laptop:
# uname -a
Linux xxxx 4.8.0-52-generic #55~16.04.1-Ubuntu SMP Fri Apr 28 14:36:29 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Because i want to use a custom name server i set the properties in the "Edit Connections" dialogue to the following:
... (2 Replies)
Discussion started by: bakunin
2 Replies
LEARN ABOUT CENTOS
net::dns::resolver::recurse
Net::DNS::Resolver::Recurse(3) User Contributed Perl Documentation Net::DNS::Resolver::Recurse(3)NAME
Net::DNS::Resolver::Recurse - Perform recursive dns lookups
SYNOPSIS
use Net::DNS::Resolver::Recurse;
my $res = Net::DNS::Resolver::Recurse->new;
DESCRIPTION
This module is a sub class of Net::DNS::Resolver. So the methods for Net::DNS::Resolver still work for this module as well. There are just
a couple methods added:
hints
Initialize the hint servers. Recursive queries need a starting name server to work off of. This method takes a list of IP addresses to use
as the starting servers. These name servers should be authoritative for the root (.) zone.
$res->hints(@ips);
If no hints are passed, the default nameserver is asked for the hints. Normally these IPs can be obtained from the following location:
ftp://ftp.internic.net/domain/named.root
recursion_callback
This method is takes a code reference, which is then invoked each time a packet is received during the recursive lookup. For example to
emulate dig's "+trace" function:
$res->recursion_callback(sub {
my $packet = shift;
$_->print for $packet->additional;
printf(";; Received %d bytes from %s
",
$packet->answersize,
$packet->answerfrom
);
});
query_dorecursion
This method is much like the normal query() method except it disables the recurse flag in the packet and explicitly performs the recursion.
$packet = $res->query_dorecursion( "www.netscape.com.", "A");
IPv6 transport
If the appropriate IPv6 libraries are installed the recursive resolver will randomly choose between IPv6 and IPv4 addresses of the
nameservers it encounters during recursion.
If you want to force IPv4 transport use the force_v4() method. Also see the IPv6 transport notes in the Net::DNS::Resolver documentation.
AUTHOR
Rob Brown, bbb@cpan.org
SEE ALSO
Net::DNS::Resolver,
COPYRIGHT
Copyright (c) 2002, Rob Brown. All rights reserved. Portions Copyright (c) 2005, Olaf M Kolkman.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
$Id: Recurse.pm 1096 2012-12-28 13:35:15Z willem $
perl v5.16.3 2012-12-28 Net::DNS::Resolver::Recurse(3)