/etc/named.conf:
options {
directory "/var/named";
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
};
//
// a caching only nameserver config
//
zone "." IN {
type hint;
file "caching-example/named.ca";
};
zone "localhost" IN {
type master;
file "caching-example/localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "caching-example/named.local";
allow-update { none; };
};
zone "myDomain.com" IN {
type master;
file "myDomain.com.zone";
allow-update { none; };
};
/var/named/myDomain.com.zone:
$ORIGIN myDomain.com
$TTL 86400
@ IN SOA Server.myDomain.com. hostmaster.myDomain.com. (
2004071801
600
600
999999
86400)
IN NS Server.myDomain.com.
IN A 10.0.0.1
Server IN A 10.0.0.1
Comp01 IN A 10.0.0.2
Šta ovde ne valja?
Oh goody... it's my Illudium PU-36 Explosive Space Modulator!
Softversko Inženjerstvo
♪♫♪