tom7711
05-24-2002, 06:55 AM
I have been trying to resolve this issue for some months and would really appreciate help with this as I am at my wits end! Could someone please tell me where I am going wrong.
ALL I want to do is run DNS INTERNALLY without using 3rd party apps. I want to be able to develop web sites across my network at my home by name.
I have a G4 running OS X Server 10.1.4 connected to 2 Macs and 1 PC connected to ISDN via a router which is NAT enabled and my network settings are static.
I understand, from sources and TILs, that 3 files need to be configured to allow me to run DNS.
Issues.
1. Do I need to turn on IP aliasing, or is it on by default
2. Do Ineed to insert my servers IP address in the DNS network panel
3. Are their any other files I need to configure
4. How do I know when DNS is running
5. What other issues should I be looking at?
Below are the 3 configured files showing my server IP as 10.0.1.2 router 10.0.1.1 and my registered domain, lets call it "www.domainname.co.uk" and my server host name "serverhostname"
1. Named.conf
-----------------------------------------
zone "." in {
type hint;
file "db.cache";
};
zone "0.0.127.in-addr.arpa" in {
type master;
file "db.127.0.0";
};
//
// The following entries are where your zone information is entered
//
// This file contains the host names and their correlating IP addresses.
zone "domainname.co.uk" in {
type master;
file "db.domainname.co.uk";
};
// This file contains the IP addresses and their correlating reverse lookup.
zone "1.0.10.in-addr.arpa" in {
type master;
file "db.10.0.1";
};
END-----------------------------------------
2. db.10.0.1
;
; Default db.192.249.249 file installed by Apple server admin
;
1.0.10.in-addr.arpa. IN SOA macsolutions.macsolutions.co.uk. administrator.macsolutions.co.uk. (
1 ; Serial
10800 ; Refresh after 3 hours
3600 ; Retry after 1 hour
604800 ; Expire after 1 week
86400 ) ; Minimum TTL of 1 day
;
; Name servers
;
1.0.10.in-addr.arpa. IN NS serverhostname.domainname.co.uk.
;
; Addresses point to canonical name
;
2.1.0.10.in-addr.arpa. IN PTR serverhostname.domainname.co.uk.
1.1.0.10.in-addr.arpa. IN PTR router.domainname.co.uk.
3.1.0.10.in-addr.arpa. IN PTR powerbook.domainname.co.uk.
4.1.0.10.in-addr.arpa. IN PTR pcbase.domainname.co.uk.
END-----------------------------------------
3. db.computerhostname
domainname.co.uk.. IN SOA serverhostname.domainname.co.uk.
administrator.macsolutions.co.uk. (
10 ; Serial
10800 ; Refresh after 3 hours
3600 ; Retry after 1 hour
604800 ; Expire after 1 week
86400 ) ; Minimum TTL of 1 day
;
; Name servers
;
domainname.co.uk. IN NS serverhostname.domainname.co.uk.
;
; Addresses for the canonical names
;
localhost.macsolutions.co.uk. IN A 127.0.0.1
serverhostname.domainname.co.uk. IN A 10.0.1.2
router.domainname.co.uk. IN A 10.0.1.1
powerbook.domainname.co.uk. IN A 10.0.1.3
pcbase.domainname.co.uk. IN A 10.0.1.4
;
; Aliases
;
www.domainname.co.uk. IN CNAME serverhostname.domainname.co.uk.
ftp.domainname.co.uk. IN CNAME serverhostname.domainname.co.uk.
mail.domainname.co.uk. IN CNAME serverhostname.domainname.co.uk.
; Here we shorten user mail addresses by adding an MX Record.
; An MX Record prevents someone from having to type user@mail.domainname.co.uk.
; Instead, user@domainname.co.uk. may be used.
domainname.co.uk. INMX 10 serverhostname.domainname.co.uk.
domainname.co.uk. INMX 20 relay.myisp.net.
END-----------------------------------------
ALL I want to do is run DNS INTERNALLY without using 3rd party apps. I want to be able to develop web sites across my network at my home by name.
I have a G4 running OS X Server 10.1.4 connected to 2 Macs and 1 PC connected to ISDN via a router which is NAT enabled and my network settings are static.
I understand, from sources and TILs, that 3 files need to be configured to allow me to run DNS.
Issues.
1. Do I need to turn on IP aliasing, or is it on by default
2. Do Ineed to insert my servers IP address in the DNS network panel
3. Are their any other files I need to configure
4. How do I know when DNS is running
5. What other issues should I be looking at?
Below are the 3 configured files showing my server IP as 10.0.1.2 router 10.0.1.1 and my registered domain, lets call it "www.domainname.co.uk" and my server host name "serverhostname"
1. Named.conf
-----------------------------------------
zone "." in {
type hint;
file "db.cache";
};
zone "0.0.127.in-addr.arpa" in {
type master;
file "db.127.0.0";
};
//
// The following entries are where your zone information is entered
//
// This file contains the host names and their correlating IP addresses.
zone "domainname.co.uk" in {
type master;
file "db.domainname.co.uk";
};
// This file contains the IP addresses and their correlating reverse lookup.
zone "1.0.10.in-addr.arpa" in {
type master;
file "db.10.0.1";
};
END-----------------------------------------
2. db.10.0.1
;
; Default db.192.249.249 file installed by Apple server admin
;
1.0.10.in-addr.arpa. IN SOA macsolutions.macsolutions.co.uk. administrator.macsolutions.co.uk. (
1 ; Serial
10800 ; Refresh after 3 hours
3600 ; Retry after 1 hour
604800 ; Expire after 1 week
86400 ) ; Minimum TTL of 1 day
;
; Name servers
;
1.0.10.in-addr.arpa. IN NS serverhostname.domainname.co.uk.
;
; Addresses point to canonical name
;
2.1.0.10.in-addr.arpa. IN PTR serverhostname.domainname.co.uk.
1.1.0.10.in-addr.arpa. IN PTR router.domainname.co.uk.
3.1.0.10.in-addr.arpa. IN PTR powerbook.domainname.co.uk.
4.1.0.10.in-addr.arpa. IN PTR pcbase.domainname.co.uk.
END-----------------------------------------
3. db.computerhostname
domainname.co.uk.. IN SOA serverhostname.domainname.co.uk.
administrator.macsolutions.co.uk. (
10 ; Serial
10800 ; Refresh after 3 hours
3600 ; Retry after 1 hour
604800 ; Expire after 1 week
86400 ) ; Minimum TTL of 1 day
;
; Name servers
;
domainname.co.uk. IN NS serverhostname.domainname.co.uk.
;
; Addresses for the canonical names
;
localhost.macsolutions.co.uk. IN A 127.0.0.1
serverhostname.domainname.co.uk. IN A 10.0.1.2
router.domainname.co.uk. IN A 10.0.1.1
powerbook.domainname.co.uk. IN A 10.0.1.3
pcbase.domainname.co.uk. IN A 10.0.1.4
;
; Aliases
;
www.domainname.co.uk. IN CNAME serverhostname.domainname.co.uk.
ftp.domainname.co.uk. IN CNAME serverhostname.domainname.co.uk.
mail.domainname.co.uk. IN CNAME serverhostname.domainname.co.uk.
; Here we shorten user mail addresses by adding an MX Record.
; An MX Record prevents someone from having to type user@mail.domainname.co.uk.
; Instead, user@domainname.co.uk. may be used.
domainname.co.uk. INMX 10 serverhostname.domainname.co.uk.
domainname.co.uk. INMX 20 relay.myisp.net.
END-----------------------------------------