Why send authoritative nameserver in DNS?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite
1












Out of curiosity, I'm checking the Wireshark DNS packets. I can see that there's a DNS querry from the host. And then DNS response from the DNS server. Everything is just as expected.



However, if you further check in the querry, you can see that the server also sends the NS (authoritative name server). So my question is why?



I mean as a host, I only care about the IP. And that's the main point of DNS, which is to resolve name into IP.



Why, as a host, would I need the NS info?










share|improve this question







New contributor




AhmedWas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



















  • @downvoter, please comment. And if you think my question is so easy, then at least answer it then downvote.
    – AhmedWas
    3 hours ago







  • 2




    By philosophy and design votes are anonymous and neither voting up nor voting down requires any mandatory explanation. The tooltip that appears when your mouse pointer hoovers over the down button states: "this question does not show any research effort; it is unclear or not useful". Also questions can attract a down vote when not well written, not quite on-topic or missing details.
    – HBruijn
    3 hours ago














up vote
1
down vote

favorite
1












Out of curiosity, I'm checking the Wireshark DNS packets. I can see that there's a DNS querry from the host. And then DNS response from the DNS server. Everything is just as expected.



However, if you further check in the querry, you can see that the server also sends the NS (authoritative name server). So my question is why?



I mean as a host, I only care about the IP. And that's the main point of DNS, which is to resolve name into IP.



Why, as a host, would I need the NS info?










share|improve this question







New contributor




AhmedWas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



















  • @downvoter, please comment. And if you think my question is so easy, then at least answer it then downvote.
    – AhmedWas
    3 hours ago







  • 2




    By philosophy and design votes are anonymous and neither voting up nor voting down requires any mandatory explanation. The tooltip that appears when your mouse pointer hoovers over the down button states: "this question does not show any research effort; it is unclear or not useful". Also questions can attract a down vote when not well written, not quite on-topic or missing details.
    – HBruijn
    3 hours ago












up vote
1
down vote

favorite
1









up vote
1
down vote

favorite
1






1





Out of curiosity, I'm checking the Wireshark DNS packets. I can see that there's a DNS querry from the host. And then DNS response from the DNS server. Everything is just as expected.



However, if you further check in the querry, you can see that the server also sends the NS (authoritative name server). So my question is why?



I mean as a host, I only care about the IP. And that's the main point of DNS, which is to resolve name into IP.



Why, as a host, would I need the NS info?










share|improve this question







New contributor




AhmedWas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











Out of curiosity, I'm checking the Wireshark DNS packets. I can see that there's a DNS querry from the host. And then DNS response from the DNS server. Everything is just as expected.



However, if you further check in the querry, you can see that the server also sends the NS (authoritative name server). So my question is why?



I mean as a host, I only care about the IP. And that's the main point of DNS, which is to resolve name into IP.



Why, as a host, would I need the NS info?







domain-name-system dns-zone wireshark dns-hosting dns-server






share|improve this question







New contributor




AhmedWas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




AhmedWas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




AhmedWas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 3 hours ago









AhmedWas

1113




1113




New contributor




AhmedWas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





AhmedWas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






AhmedWas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











  • @downvoter, please comment. And if you think my question is so easy, then at least answer it then downvote.
    – AhmedWas
    3 hours ago







  • 2




    By philosophy and design votes are anonymous and neither voting up nor voting down requires any mandatory explanation. The tooltip that appears when your mouse pointer hoovers over the down button states: "this question does not show any research effort; it is unclear or not useful". Also questions can attract a down vote when not well written, not quite on-topic or missing details.
    – HBruijn
    3 hours ago
















  • @downvoter, please comment. And if you think my question is so easy, then at least answer it then downvote.
    – AhmedWas
    3 hours ago







  • 2




    By philosophy and design votes are anonymous and neither voting up nor voting down requires any mandatory explanation. The tooltip that appears when your mouse pointer hoovers over the down button states: "this question does not show any research effort; it is unclear or not useful". Also questions can attract a down vote when not well written, not quite on-topic or missing details.
    – HBruijn
    3 hours ago















@downvoter, please comment. And if you think my question is so easy, then at least answer it then downvote.
– AhmedWas
3 hours ago





@downvoter, please comment. And if you think my question is so easy, then at least answer it then downvote.
– AhmedWas
3 hours ago





2




2




By philosophy and design votes are anonymous and neither voting up nor voting down requires any mandatory explanation. The tooltip that appears when your mouse pointer hoovers over the down button states: "this question does not show any research effort; it is unclear or not useful". Also questions can attract a down vote when not well written, not quite on-topic or missing details.
– HBruijn
3 hours ago




By philosophy and design votes are anonymous and neither voting up nor voting down requires any mandatory explanation. The tooltip that appears when your mouse pointer hoovers over the down button states: "this question does not show any research effort; it is unclear or not useful". Also questions can attract a down vote when not well written, not quite on-topic or missing details.
– HBruijn
3 hours ago










1 Answer
1






active

oldest

votes

















up vote
3
down vote



accepted










Traditionally name servers don't send a short response to a query but an RFC 1034-1035 compliant full response which includes the authority section that contains Resource Records that point toward the authoritative name server(s).



The why is probably because with the distributed and delegated nature of DNS it seemed a good idea at the time to include the "source of truth" in responses.



Edit: By the way: sending the authority section is RFC compliant but not mandatory.



In BIND this behaviour can be tuned with the minimal-responses yes | no; directive, where the default is no and the Authority and Additional sections of the query response will always be fully populated.

Other name servers CloudFlare, AWS Route 53, Infoblocks and probably others will already always send such minimal responses by default. Google's public resolvers will return an Authority section when available.






share|improve this answer






















    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "2"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );






    AhmedWas is a new contributor. Be nice, and check out our Code of Conduct.









     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f938639%2fwhy-send-authoritative-nameserver-in-dns%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    3
    down vote



    accepted










    Traditionally name servers don't send a short response to a query but an RFC 1034-1035 compliant full response which includes the authority section that contains Resource Records that point toward the authoritative name server(s).



    The why is probably because with the distributed and delegated nature of DNS it seemed a good idea at the time to include the "source of truth" in responses.



    Edit: By the way: sending the authority section is RFC compliant but not mandatory.



    In BIND this behaviour can be tuned with the minimal-responses yes | no; directive, where the default is no and the Authority and Additional sections of the query response will always be fully populated.

    Other name servers CloudFlare, AWS Route 53, Infoblocks and probably others will already always send such minimal responses by default. Google's public resolvers will return an Authority section when available.






    share|improve this answer


























      up vote
      3
      down vote



      accepted










      Traditionally name servers don't send a short response to a query but an RFC 1034-1035 compliant full response which includes the authority section that contains Resource Records that point toward the authoritative name server(s).



      The why is probably because with the distributed and delegated nature of DNS it seemed a good idea at the time to include the "source of truth" in responses.



      Edit: By the way: sending the authority section is RFC compliant but not mandatory.



      In BIND this behaviour can be tuned with the minimal-responses yes | no; directive, where the default is no and the Authority and Additional sections of the query response will always be fully populated.

      Other name servers CloudFlare, AWS Route 53, Infoblocks and probably others will already always send such minimal responses by default. Google's public resolvers will return an Authority section when available.






      share|improve this answer
























        up vote
        3
        down vote



        accepted







        up vote
        3
        down vote



        accepted






        Traditionally name servers don't send a short response to a query but an RFC 1034-1035 compliant full response which includes the authority section that contains Resource Records that point toward the authoritative name server(s).



        The why is probably because with the distributed and delegated nature of DNS it seemed a good idea at the time to include the "source of truth" in responses.



        Edit: By the way: sending the authority section is RFC compliant but not mandatory.



        In BIND this behaviour can be tuned with the minimal-responses yes | no; directive, where the default is no and the Authority and Additional sections of the query response will always be fully populated.

        Other name servers CloudFlare, AWS Route 53, Infoblocks and probably others will already always send such minimal responses by default. Google's public resolvers will return an Authority section when available.






        share|improve this answer














        Traditionally name servers don't send a short response to a query but an RFC 1034-1035 compliant full response which includes the authority section that contains Resource Records that point toward the authoritative name server(s).



        The why is probably because with the distributed and delegated nature of DNS it seemed a good idea at the time to include the "source of truth" in responses.



        Edit: By the way: sending the authority section is RFC compliant but not mandatory.



        In BIND this behaviour can be tuned with the minimal-responses yes | no; directive, where the default is no and the Authority and Additional sections of the query response will always be fully populated.

        Other name servers CloudFlare, AWS Route 53, Infoblocks and probably others will already always send such minimal responses by default. Google's public resolvers will return an Authority section when available.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 1 hour ago

























        answered 3 hours ago









        HBruijn

        51.2k1083138




        51.2k1083138




















            AhmedWas is a new contributor. Be nice, and check out our Code of Conduct.









             

            draft saved


            draft discarded


















            AhmedWas is a new contributor. Be nice, and check out our Code of Conduct.












            AhmedWas is a new contributor. Be nice, and check out our Code of Conduct.











            AhmedWas is a new contributor. Be nice, and check out our Code of Conduct.













             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f938639%2fwhy-send-authoritative-nameserver-in-dns%23new-answer', 'question_page');

            );

            Post as a guest













































































            Comments

            Popular posts from this blog

            What does second last employer means? [closed]

            List of Gilmore Girls characters

            Confectionery