Formatting code for dns
{{parent page="Network"}}
===[[DNS DNS]]===
Did you know - a domain name consists of a hostname, a domain name, and a top-level-domain (AKA TLD). For instance, in www.example.com, **www** is the hostname, **example** is the domain name, and **com** is the tld. **www.example.com** is known as the fully-qualified-domain-name (FQDN)
[[DNSQueries DNS Queries]]
[[Bind910min Bind9 In 10 minutes]]
[[DNSZone DNS zone file]]
[[NetworkPowerDNS PowerDNS - a DNS server designed to work with a database backend]]
[[DNSSubdomainDelegate Delegating sub-domains]]
[[DNSdjbdns djbdns]]
[[DNSnsupdate nsupdate]]
-----
===dnsmasq===
It's easy.
%%
bogus-priv
no-poll
address=/gw.comme.ca/192.168.13.254
address=/mynas.comme.ca/192.168.13.80
ptr-record=254.13.168.192.in-addr.arpa,"gw.comme.ca"
ptr-record=80.13.168.192.in-addr.arpa,"mynas.comme.ca"
server=210.0.128.242@eth0
server=210.0.255.216@eth0
all-servers
no-resolv
interface=lo
interface=eth0
domain=comme.ca,192.168.13.0/24
cache-size=256
%%
===[[DNS DNS]]===
Did you know - a domain name consists of a hostname, a domain name, and a top-level-domain (AKA TLD). For instance, in www.example.com, **www** is the hostname, **example** is the domain name, and **com** is the tld. **www.example.com** is known as the fully-qualified-domain-name (FQDN)
[[DNSQueries DNS Queries]]
[[Bind910min Bind9 In 10 minutes]]
[[DNSZone DNS zone file]]
[[NetworkPowerDNS PowerDNS - a DNS server designed to work with a database backend]]
[[DNSSubdomainDelegate Delegating sub-domains]]
[[DNSdjbdns djbdns]]
[[DNSnsupdate nsupdate]]
-----
===dnsmasq===
It's easy.
%%
bogus-priv
no-poll
address=/gw.comme.ca/192.168.13.254
address=/mynas.comme.ca/192.168.13.80
ptr-record=254.13.168.192.in-addr.arpa,"gw.comme.ca"
ptr-record=80.13.168.192.in-addr.arpa,"mynas.comme.ca"
server=210.0.128.242@eth0
server=210.0.255.216@eth0
all-servers
no-resolv
interface=lo
interface=eth0
domain=comme.ca,192.168.13.0/24
cache-size=256
%%