Skip to main content

Adding custom DNS entries

We assume the machine has the IP 192.168.0.2.

Create the file config/dns.yml and add the following

customDNS:
  mapping:
    example.com: 192.168.0.2
    blocky.example.com: 192.168.0.2
    other.example.com: 192.168.0.2

This will route the given sites internally via blocky.

Now simply set the IP as your DNS-Server in your Routers DHCP config