-
-
Save pennae/92d0aba5b8064302bf964ae81ebb0a9c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ lib, ... }: | |
with lib; | |
{ | |
services.unbound.settings.server = { | |
# settings ... | |
} // zipAttrsWith (_:flatten) [ | |
# in place of imports | |
{ | |
local-zone: ''"local." static''; | |
local-zone-tag: ''"local." "local_net"''; | |
local-data = [ | |
"router.local. IN A 10.0.0.1" | |
"server.local. IN A 10.0.0.10" | |
]; | |
local-data-ptr = [ | |
"10.0.0.1 router.local." | |
"10.0.0.10 server.local." | |
]; | |
} | |
# ... | |
]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment