Hello,
Here is the named.conf (IPs and domains replaced):
Code:
// Default named.conf generated by install of bind-9.2.4-16.EL4
options {
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
};
zone "example.com" {
type master;
file "/var/named/zones/example.com.db";
};
zone "111.22.22.in-addr.arpa" {
type master;
file "/var/named/zones/111.22.22.rev";
};
include "/etc/rndc.key";
Here is the example.com.db :
Code:
$TTL 3h
;
; example.com.db
;
;SOA records
@ IN SOA ns1.example.com admin.example.com. (
1 ; serial
3h ; refresh
1h ; retry
1w ; expire
1h ) ; minimum
;NS RECORDS
IN NS ns1.example.com.
IN NS ns2.example.com.
IN MX 10 mail.example.com.
example.com. IN A 69.80.225.200
www IN A 22.22.111.200
ftp IN A 22.22.111.200
mail IN A 22.22.111.200
Here is the 111.22.22.rev:
Code:
@ IN SOA ns1.example.com. admin.example.com. (
2006081401;
28800;
604800;
604800;
86400
)
IN NS ns1.example.com.
IN NS ns2.example.com.
1 IN PTR example.com
Does the above files look correct?
Let say I have the IP numbers 22.22.111.200, 22.22.111.201 and 22.22.111.202.
To what IP numbers do I register the nameservers at my domain registrar? Does it matter? I'm planning to register both ns1.example.com and ns2.example.com to this server, can I for example just register them to 22.22.111.200 and 22.22.111.201?
Best Regards
Oskar R