On Mon, 2023-03-27 at 23:09 -0700, ToddAndMargo via users wrote: > I was looking for a way I could look up the final DNS > server, regardless of was type of local server I was > going through. I don't think it is possible. It looks > like I should dig it out from /etc/named.conf's > forwards section. > > # grep -i forwarders /etc/named.conf | grep -v "#" > forwarders { 208.67.222.123; 208.67.220.123; }; > forwarders {8.8.8.8; 8.8.4.4; }; I don't know what you mean by "final"? Simply the last one in the list of your servers? Or you mean upstream, the ones that answered the queries that your name server asked of it, that you asked of your own name server? When you have a series of DNS servers that you can query, the old behaviour was to always consult the first one on the list. And only walk down the list when it doesn't respond, until it gets to one that does. For the next DNS query, it start at the top of the list again, waiting for the first one to respond, or not, then walk down the list one by one. And "not responding" really means exactly that. If a server responds with any answer, even an answer that doesn't have the requested data, it has responded, and that's the end of your query. Then there's other behaviours, where the system keeps querying the last DNS server that has responded (ignoring ones that have failed it earlier), or it can randomly ask any server in the list. If you dig a domain name (e.g. dig example.com), the results will tell you what servers are responsible for its records. For what it's worth, if you grep /etc/named.conf for forwarders, you mightn't find what you expect. You can have forwarders that only apply to certain domain names. -- uname -rsvp Linux 3.10.0-1160.88.1.el7.x86_64 #1 SMP Tue Mar 7 15:41:52 UTC 2023 x86_64 Boilerplate: All unexpected mail to my mailbox is automatically deleted. I will only get to see the messages that are posted to the mailing list. _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue