On Tue, 23 Jan 2001, Martin, Debi (REO) wrote:
- Thanks for the reply.
-
- I've checked out the files and as far as I can see its fine. But, saying
- that, I could
- be missing something obvious. If your offer of posting some working files
- still stands,
- I would really appreciate it. I can at least do a compare to see if
- something is amiss..
-
- My goal for the DNS server is to allow the other hosts on the same lan to be
- able
- to get to other hosts by the 'friendly' name. It makes life alot easier than
- maintaining
- individual host files on each machine.
Here are some basic config files.
# named.conf
options {
directory "/var/named";
};
zone "." {
type hint;
file "named.ca";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "named.local";
};
# private network resolution
zone "private.prv" {
type master;
file "private.prv.db";
zone "1.168.192.in-addr.arpa" {
type master;
file "192.168.1.db";
};
# named.local
@ IN SOA localhost. root.localhost. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS localhost.
1 IN PTR localhost.
# private.prv.db
@ IN SOA warlock. dnsadmin.private.prv (
1 ;Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Min
IN NS warlock.private.prv.
IN MX 10 mail.private.prv
warlock IN A 192.168.1.10
mail IN A 192.168.1.10
princess IN A 192.168.1.12
# 1.168.192.db
@ IN SOA warlock. dnsadmin.private.prv (
1 ;Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Min
IN NS warlock.private.prv.
10 IN PTR warlock.private.prv.
12 IN PTR princess.private.prv.
The named.ca hints file is best created by using 'dig >named.ca'
If this is not possible then here is the one I use:
# named.ca
; <<>> DiG 8.2 <<>>
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
;; flags: qr rd ra; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 13
;; QUERY SECTION:
;; ., type = NS, class = IN
;; ANSWER SECTION:
. 4d3h29m29s IN NS D.ROOT-SERVERS.NET.
. 4d3h29m29s IN NS A.ROOT-SERVERS.NET.
. 4d3h29m29s IN NS H.ROOT-SERVERS.NET.
. 4d3h29m29s IN NS C.ROOT-SERVERS.NET.
. 4d3h29m29s IN NS G.ROOT-SERVERS.NET.
. 4d3h29m29s IN NS F.ROOT-SERVERS.NET.
. 4d3h29m29s IN NS B.ROOT-SERVERS.NET.
. 4d3h29m29s IN NS J.ROOT-SERVERS.NET.
. 4d3h29m29s IN NS K.ROOT-SERVERS.NET.
. 4d3h29m29s IN NS L.ROOT-SERVERS.NET.
. 4d3h29m29s IN NS M.ROOT-SERVERS.NET.
. 4d3h29m29s IN NS I.ROOT-SERVERS.NET.
. 4d3h29m29s IN NS E.ROOT-SERVERS.NET.
;; ADDITIONAL SECTION:
D.ROOT-SERVERS.NET. 5d3h29m29s IN A 128.8.10.90
A.ROOT-SERVERS.NET. 5d3h29m29s IN A 198.41.0.4
H.ROOT-SERVERS.NET. 5d3h29m29s IN A 128.63.2.53
C.ROOT-SERVERS.NET. 5d3h29m29s IN A 192.33.4.12
G.ROOT-SERVERS.NET. 5d3h29m29s IN A 192.112.36.4
F.ROOT-SERVERS.NET. 5d3h29m29s IN A 192.5.5.241
B.ROOT-SERVERS.NET. 5d3h29m29s IN A 128.9.0.107
J.ROOT-SERVERS.NET. 5d3h29m29s IN A 198.41.0.10
K.ROOT-SERVERS.NET. 5d3h29m29s IN A 193.0.14.129
L.ROOT-SERVERS.NET. 5d3h29m29s IN A 198.32.64.12
M.ROOT-SERVERS.NET. 5d3h29m29s IN A 202.12.27.33
I.ROOT-SERVERS.NET. 5d3h29m29s IN A 192.36.148.17
E.ROOT-SERVERS.NET. 5d3h29m29s IN A 192.203.230.10
;; Total query time: 1 msec
;; FROM: warlock to SERVER: default -- 192.168.1.10
;; WHEN: Tue Jan 23 06:50:39 2001
;; MSG SIZE sent: 17 rcvd: 436
--
--Stephen Carville
http://www.heronforge.net/~stephen/gnupgkey.txt
==============================================================
All religions are equally vile. What the Aztecs did with people's
hearts, Judaeo-Christianity does with their minds.
L. Neil Smith
==============================================================