Re: 127.0.0.53 question

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

 



On 12/16/22 22:54, Samuel Sieb wrote:
On 12/16/22 22:44, ToddAndMargo via users wrote:
On 12/16/22 22:11, Samuel Sieb wrote:
On 12/16/22 21:18, ToddAndMargo via users wrote:
On 12/16/22 20:23, Mike Wright wrote:
127.0.0.0/8 is the loopback address.  That means that any IP that begins with 127 is a valid loopback address.  The three 0's can each be any number from 0 through 255.


So the 127.0.0.53 was the bind guys being sneaky!

That's not bind.  systemd-resolved is on 127.0.0.53 and 127.0.0.54 on my system.  bind would most likely try to get 127.0.0.1 as you demonstrated in your other email.  If you want systemd-resolved to use your bind server instead of the dhcp offered one, then modify /etc/systemd/resolved.conf to set 127.0.0.1 as the primary DNS server.

Named/bind uses port 53

$ grep -i 53 /etc/services
domain          53/tcp     # name-domain server
domain          53/udp

Not sure what your point is here.  Yes, they *all* use port 53, but on different IP addresses.  By default, resolv.conf points to systemd-resolved, so you need to tell that to pass it on to bind.

Everything is commented out in my
     /etc/systemd/resolved.conf

Yes, so you need to uncomment the DNS line and edit it.

I set DNS=127.0.0.1

No Joy.  It was still random

# systemctl restart systemd-resolved.service


Then I tried DNS=127.0.0.1:53 and it is working
stable and fast, for now.  I have thought I
had it working several times before, but got
my heart broken.

And now it is failing again.

It begs the question, if /etc/resolv.conf states

    nameserver 127.0.0.53

why do I need to explicitly tell resolved what it
is in resolved.conf.

I re-commented the DNS= line and am continuing
troubleshooting
_______________________________________________
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



[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