• 0 Posts
  • 211 Comments
Joined 2 years ago
cake
Cake day: July 7th, 2023

help-circle

  • just_another_person@lemmy.worldtoSelfhosted@lemmy.worldHelp with domain
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    23 hours ago

    Don’t mix your public and private DNS records. Use your public records for public things, and a local DNS forwarder for your local network.

    A records only reference IPs and not ports.

    SRV can be used to specify where to find ports, but the client needs to support those lookups to properly use it. You can use a reverse proxy or HTTP redirects to point things to different ports.





  • I really think you have conflicting resolvers running on startup, which would explain this. Double check your systemd units that are enabled on boot. If you don’t see anything like networkmanager, reboot the machine, get the status of systemd-resolv to make sure it’s actually running after a fresh boot, check the logs and see if you see anything interesting there, then restart it and check the logs again once DNS works. Something is different between those two actions.