Već par puta bezuspešno pokušavam da podesim BIND DNS da radi, ali mi nikako ne uspeva. Nekako sam sklepao config fajlove, na osnovu nekog tutorijala (Stvarno ne mogu da čitam RFCove da bih podesio najjednostavniji DNS). Dakle hteo sam da imam jedan master DNS server, koji će da ostalim kompovima na LANu resolvira imena tipa nesto.myDomain.com -> 10.0.0.x. Evo kako trenutno izgleda
/etc/named.conf:
/var/named/myDomain.com.zone:
Šta ovde ne valja?
/etc/named.conf:
Code:
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; };
};
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:
Code:
$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
$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?
Potpis
ex. trooper
Oh goody... it's my Illudium PU-36 Explosive Space Modulator!
Softversko Inženjerstvo
♪♫♪
Oh goody... it's my Illudium PU-36 Explosive Space Modulator!
Softversko Inženjerstvo
♪♫♪