diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2022-10-02 20:35:31 -0400 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2022-10-02 20:35:31 -0400 |
commit | 53d0aeb2cf3e8c9d1a534c0f95352282e6509100 (patch) | |
tree | 9180860728e242f93b4fb59ad5cecdec9b179ccb /config | |
parent | 994b0a3805d2ad678e1dfe95950ef10f48fedd01 (diff) |
dns config
Diffstat (limited to 'config')
-rw-r--r-- | config/router.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/config/router.nix b/config/router.nix index 92c2a5d..f5c7174 100644 --- a/config/router.nix +++ b/config/router.nix @@ -241,7 +241,10 @@ in { port=2053 no-resolv - address=/test-dns.orbekk.com/::1 + no-hosts + + address=/localhost/::1 + address=/localhost/127.0.0.1 enable-ra dhcp-authoritative @@ -263,17 +266,20 @@ in { dhcp-range=vlan30,172.20.30.50,172.20.30.254,5m dhcp-option=net:vlan30,option:router,172.20.30.1 dhcp-option=net:vlan30,option:dns-server,172.20.30.1 + dhcp-option=net:vlan30,option:domain-search,nyc.orbekk.com dhcp-range=vlan100,172.20.100.50,172.20.100.254,5m dhcp-host=vlan100,d8:3b:bf:59:22:de,172.20.100.10 dhcp-range=vlan100,::100,::500,constructor:bond0.100,ra-only dhcp-option=net:vlan100,option:router,172.20.100.1 dhcp-option=net:vlan100,option:dns-server,172.20.100.1 + dhcp-option=net:vlan100,option:domain-search,nyc.orbekk.com dhcp-range=vlan32,172.20.32.50,172.20.32.254,5m dhcp-range=vlan32,::100,::500,constructor:bond0.32,ra-only dhcp-option=net:vlan32,option:router,172.20.32.1 dhcp-option=net:vlan32,option:dns-server,172.20.32.1 + dhcp-option=net:vlan32,option:domain-search,nyc.orbekk.com ''; }; |