networking:dns:unbound:selectively_override_dns_records
This is an old revision of the document!
Networking - DNS - Unbound - Selectively override DNS records
To add some local information into the normal DNS data.
Override an A record
local-zone: example.org typetransparent local-data: "server.example.org A 8.8.8.8"
NOTE: Any other DNS records for server.example.org will be returned as-is, such as MX records.
local-zone: example.com transparent local-data: "server.example.com A 9.9.9.9"
NOTE: This also effectively deleted all other DNS records for it. If it has an MX record or a TXT record or what have you, those records will not be visible.
- For any names in transparent local-data zones, you are in complete control of all records returned;
- either they are in your local-data stanzas, or they do not exist.
networking/dns/unbound/selectively_override_dns_records.1665234237.txt.gz · Last modified: 2022/10/08 13:03 by peter