Networking/NameResolution/DNS

From FedoraProject

Jump to: navigation, search

Global DNS name resolution

named.conf:

include "/etc/named/zones.test.master";

zones.test.master:

zone "example.net" {
	type master;
	file "/etc/named/master/example.net";
};

master/example.net:

$TTL 10m
@               SOA     router hostmaster 2012121400 1d 15m 4w 10m
;                       nameserver e-mail serial refresh retry expire negative-ttl

@               NS      router

router          A       10.0.17.1
                AAAA    2001:15c0:6753:17::1
station         A       10.0.17.2
                AAAA    2001:15c0:6753:17:5054:abff:fe17:222

www             CNAME   station