Re: FC31: how to make localhost preferred nameserver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/13/19 10:50 PM, Tim via users wrote:
On Fri, 2019-12-13 at 18:45 -0500, Sean Darcy wrote:
FC31 on a laptop. I'd like the have localhost as the first
nameserver. Then the the nameservers supplied by dhcp.

That is:

resolv.conf
127.0.0.1
[whatever dhcp provides]

So I can't set DNS=none. There used to be "head" for for
resolv.conf.d, but that doesn't exist for FC31.

That's probably not going to work how you expect it to work.

The system will always try to use your first name server for all
queries, and will only use the subsequent ones if the first one fails
to respond (usually with quite a lengthy time-out period, too, though
you can change that).

For the next query, the cycle will repeat.  It'll try the first one
first, wait for it to answer or fail, then try the next one.

And if the first one is working but doesn't have an answer to a query,
it has still responded, and the second one will not be queried.

If you have your own name server, set it up to be fully functional.
Let it resolve all queries by itself.  I've done that for years,
completely ignoring my ISP's hopeless (slow, overloaded, mismanaged,
censoring) name servers.


But the problem this is a machine on a flaky third world isp which goes down from time to time. When that happens unbound will eventually go down, which they're not inclined to fix. So when the isp comes back up, unbound is down, and I need a backup nameserver.
_______________________________________________
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



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux