Newbie to Local DNS how to?
The basic question is how to get our local DNS working?
I'm running OSX server Tiger 10.4.6 on a G4 with two Ethernetcards.
One for Wan (EN0) with these setting;
10.0.0.151
255.255.255.0
10.0.0.138
DNS-Servers
192.168.0.1 (our lan)
194.109.104.104 (our ISP DNS)
194.109.9.99 (our ISP DNS)
One for Internal LAN (EN1)with these settings
192.168.0.1
255.255.255.0
192.168.0.1
DNS-Servers
None, will be suplied via DHCP server in ServerAdmin
Our server is setup for Mail, FTP, DHCP, DNS, Firewall, Nat, AFP Windows.
Everything works fine, we get our mail, our files via FTP and we can connect to the internet. Except I can't get local DNS working !
I've read and tried already any suggestion posted here but I'm stucked.
The Server is setup as a standolane server.
DHCP setup; en1, startingadress 192.168.0.2 ending 192.168.0.255
Router 192.168.0.1 DNS Default domain; eps-amsterdam.nl Nameservers; 192.168.0.1 and 194.109.9.99 LDAP Server Name; 192.168.0.1 WINS Primary Server 192.168.0.1 NBT Node; broadcast (b-node)
DNS setup; General; marked Zonetransfer and Recusion,
Zones; Name: eps-amsterdam.nl, Primary Name Server: osxservereps, Primary Name Server Adress: 192.168.0.1
Machines;
Name: osxservereps Primary Adress: 192.168.0.1
Name: osxservereps Primary Adress: 10.0.0.151 and some printers with static IP-Adresses
Firewall setup; 10-net allow: 21, 113, 625, 3283, 5900,
192.168.0-net alow all trafic
Advanced; default settings after installation
Nat; IP Forwarding and NAT
I've edit the hostconfig file with
HOSTNAME=osxservereps.eps-amsterdam.nl
I've done the sudo hostname osxservereps.eps-amsterdam.nl
I've used the changeip /LDAPv3/127.0.0.1 etc.
My named.conf;
osxservereps:/etc edvandermeer$ cat named.conf
//
// Include keys file
//
include "/etc/rndc.key";
// Declares control channels to be used by the rndc utility.
//
// It is recommended that 127.0.0.1 be the only address used.
// This also allows non-privileged users on the local host to manage
// your name server.
//
// Default controls
//
controls {
inet 127.0.0.1 port 54 allow {any;} keys {
"rndc-key";
};
};
options {
directory "/var/named";
recursion true;
/*
* 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 "named.ca";
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
zone "eps-amsterdam.nl" in {
file "eps-amsterdam.nl.zone";
type master;
};
zone "0.168.192.in-addr.arpa" IN {
file "db.192.168.0";
type master;
};
zone "0.0.10.in-addr.arpa" IN {
file "db.10.0.0";
type master;
};
logging {
category default {
defaultlog;
};
channel defaultlog {
file "/Library/Logs/named.log";
severity info;
print-time yes;
};
};
What am I doing wrong ???
Any suggestion is very welkom
Ed
G4, Mac OS X (10.4.6)