User Tools

Site Tools


networking:dns:unbound:forward_zones

Networking - DNS - Unbound - Forward Zones

Forward lookup zones resolve names to IP addresses and Reverse lookup zones resolve IP addresses to names.

  • Forwarders can be used on your DNS server to forward requests for which your DNS server does not have an authoritative answer.
  • You can also set up your forwarders to conditionally forward requests to different forwarders based on domain names.
forward-zone:
   name: "example.com"
   forward-addr: 192.0.2.68
   forward-addr: 192.0.2.73@5355  # Forward to port 5355.
   forward-first: no
   forward-tls-upstream: no
   forward-no-cache: no
 
forward-zone:
   name: "example.org"
   forward-host: fwd.example.com

NOTE: Make all queries for 'example.com' and 'example.org' go to the given list of servers.

These servers have to handle recursion to other nameservers.

List zero or more nameservers by Hostname or by IP Address.

Use an entry with name “.” to forward all queries.

If you enable forward-first, it attempts without the forward if it fails.

networking/dns/unbound/forward_zones.txt · Last modified: 2022/10/08 09:25 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki