Skip to content

dmcken/anycast-dns-ntp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

anycast-dns-ntp

Setup loopbacks

Ubuntu (netplan)

Add the following to your netplan /etc/netplan/", network and ethernets will likely already be there:

network:
  ethernets:
    lo:
      addresses:
      - 1.1.1.1/32
      - 8.8.8.8/32

Activate the changes with:

sudo netplan apply

Disable stub listener on port 53 (SystemD only needs this)

Edit /etc/systemd/resolved.conf uncommenting and changing the following two lines (change 1.1.1.2 and 9.9.9.9 to your preferred DNS servers):

DNS=1.1.1.2,9.9.9.9
DNSStubListener=no

Make the /etc/resolve.conf:

sudo ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf

This changes requires a reboot of the machine to activate so "sudo reboot"

Activate the servers

docker compose up -d

Testing Your server:

Windows:

NTP

Open a command prompt:

w32tm /stripchart /dataonly /samples:5 /computer:<non-anycast IP of server>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published