What does authoritative DNS server mean?

11

3

What does authoritative DNS server mean?

Can someone please explain it to me in a shorter way?

LanceBaynes

Posted 2011-12-21T04:36:24.933

Reputation: 3 510

4Shorter than what? Anything shorter than "authoritative DNS server" isn't going to be very meaningful. – Keith Thompson – 2011-12-21T04:39:04.693

Calling it master or primary is shorter, but I doubt those will mean much. – Zoredache – 2011-12-21T07:58:53.620

1… and they'd be wrong, to boot. A secondary content server is as "authoritative" as a primary one is, in this context. – JdeBP – 2011-12-23T18:32:42.393

Answers

8

An authoritative name server is a name server that gives answers in response to questions asked about names in a zones. An authoritative-only name server only returns answers to queries about domain names that have been specifically configured by the administrator. Name servers can also be configured to give authoritative answers to queries in some zones, while acting as a caching name server for all other zones.

...

When a domain is registered with a domain name registrar, the zone administrator provides a list of name servers (typically at least two, for redundancy[4]) that are authoritative for the zone that contains the domain. The registrar provides the names of these servers to the domain registry for the top level domain containing the zone. The domain registry in turn configures the authoritative name servers for that top level domain with delegations for each server for the zone. If the fully qualified domain name of any name server for a zone appears within that zone, the zone administrator provides IP addresses for that name server, which are installed in the parent zone as glue records; otherwise, the delegation consists of the list of NS records for that zone.

source http://en.wikipedia.org/wiki/Authoritative_name_server#Authoritative_name_server

Reading their explanation, it seems to be fairly straight forward.

kobaltz

Posted 2011-12-21T04:36:24.933

Reputation: 14 361

5

Do you understand HTTP and the WWW? Yes? Good. DNS is just like that. A set of content servers publish content taken from their back-end databases, and a set of proxy servers, that do the grunt work, sit in between those content servers and the DNS client library code that is linked into applications programs that want to use the DNS. An application performs a front-end transaction with a proxy, and the proxy does a whole load of back-end transactions with various content servers.

Authority is slightly confusing:

  • Some poorly designed DNS servers try to vainly wear both hats at once, performing both proxy DNS service and content DNS service. Thus there are all sorts of concerns that the poor system administrators operating such softwares have to bear in mind, dealing with "what the server is and isn't authoritative for". Ironically, it has been considered good practice for a decade or so now to separate content DNS service from proxy DNS service.
  • A DNS response datagram has an AA ("authoritative answer") bit that is a useless bit of frippery the DNS protocol that should be ignored. Some vain multiple-hat-wearing softwares do things with it that surprise people that think that they've finally got the hang of what "authoritative" means, or who haven't read beyond the RFCs. ☺
  • A SOA resource record set denotes, to some (not all) content DNS servers, the apex of a "zone" — essentially a subset of the back-end database. It's where they think the root of that portion of their database is. But in the DNS authority is delegated, not claimed.

It's a term that is best avoided. Concentrate instead upon the ideas of the DNS servers that publish the content and the DNS servers that do the all of the transactions necessary for query resolution work on behalf of the client libraries in applications.

Further reading

JdeBP

Posted 2011-12-21T04:36:24.933

Reputation: 23 855