Gentoo Archives: gentoo-user

From: Michael Sullivan <michael@××××××××××××.com>
To: gentoo-user <gentoo-user@l.g.o>
Subject: [gentoo-user] OT - Need help correcting my DNS configuration
Date: Fri, 16 Dec 2005 00:14:10
Message-Id: 1134691742.9139.19.camel@camille.espersunited.com
1 I need help setting up my network's DNS configuration. I tried to
2 subscribe myself to the bind-user mailing list (using the address at the
3 bottom of the bind docs README file, but I saw this in the log:
4
5 Dec 15 17:51:15 bullet sm-mta[29432]: jBFNpCvf029430:
6 to=<bind-users-request@×××.org>, ctladdr=<michael@××××××××××××.com>
7 (1000/100), delay=00:00:03, xdelay=00:00:03, mailer=esmtp, pri=120297,
8 relay=mx.sth1.isc.org. [192.228.89.21], dsn=4.2.0, stat=Deferred: 450
9 <bind-users-request@×××.org>: Recipient address rejected: Greylisted for
10 180 seconds (see http://isg.ee.ethz.ch/tools/postgrey/help)
11
12
13 I went to the website and the only useful information I could glean from
14 it was that my mail server might not be set up correctly. This
15 information doesn't help me as I'd be lying if I said I understood how
16 my mail server works. Intra/Extra-network mail comes in,
17 intra/extra-mail goes out; I can block spam with my /etc/mail/access
18 file; I don't mess with it (I'd probably mess it up.) Anyway, I set up
19 my BIND configuration using "DNS and BIND, 4th Edition" from O'Reilly.
20 I was following the examples in Chapter 4, substituting my domain for
21 the example one. However, when I use my new DNS server the only thing
22 that works correctly is digging 0.0.127.in-addr.arpa. Every other query
23 gets me either NXDOMAIN or SERVFAIL. Here's the /etc/hosts file I want
24 my DNS config based off of:
25
26 127.0.0.1 localhost.localdomain localhost
27 192.168.1.4 catherine.espersunited.com catherine
28 192.168.1.3 camille.espersunited.com camille
29 192.168.1.2 bullet.espersunited.com bullet
30
31
32 Here's /etc/bind/named.conf:
33
34 options {
35 directory "/etc/bind";
36 pid-file "/var/run/named/named.pid";
37 };
38
39 zone "espersunited.com" in {
40 type master;
41 file "db.espersunited.com";
42 };
43
44 zone "2.1.168.192.in-addr.arpa." in {
45 type master;
46 file "db.2.1.168.192";
47 };
48
49 zone "0.0.127.in-addr.arpa." in {
50 type master;
51 file "db.127.0.0";
52 };
53
54 zone "." in {
55 type hint;
56 file "db.cache";
57 };
58
59
60
61 Here's /etc/bind/db.espersunited.com:
62
63 $TTL 3h
64 espersunited.com. IN SOA bullet.espersunited.com.
65 michael.bullet.espersunited.com. (
66
67 1 ;Serial
68 3h ;Refresh after 3 hours
69 1h ;Retry after one hour
70 1w ;Expire after one week
71 1h ) ;Negative caching TTL of 1 hour
72
73 ;Name server(s)
74 espersunited.com. IN NS bullet.espersunited.com.
75
76 ;Host addresses
77
78 localhost.espersunited.com. IN A 127.0.0.1
79 bullet.espersunited.com. IN A 192.168.1.2
80 camille.espersunited.com. IN A 192.168.1.3
81 catherine.espersunited.com. IN A 192.168.1.4
82
83 ;Aliases
84
85 bullet.espersunited.com. IN CNAME bullet.espersunited.com.
86 camille.espersunited.com. IN CNAME camille.espersunited.com.
87 catherine.espersunited.com. IN CNAME catherine.espersunited.com.
88
89
90 Here's db.127.0.0:
91
92 $TTL 3h
93 0.0.127.in-addr.arpa. IN SOA bullet.espersunited.com.
94 michael.bullet.espersunited.com. (
95
96 1 ;Serial
97 3h ;Refresh after 3 hours
98 1h ;Retry after one hour
99 1w ;Expire after one week
100 1h ) ;Negative caching TTL of 1 hour
101
102 ;Name servers
103 0.0.127.in-addr.arpa. IN NS bullet.espersunited.com.
104
105 ;Host addresses
106
107 1.0.0.127.in-addr.arpa. IN PTR localhost.
108
109
110 Here's db.db.2.1.168.192:
111
112 $TTL 3h
113 2.1.168.192.in-addr.arpa. IN SOA bullet.espersunited.com.
114 michael.bullet.espersunited.com. (
115
116 1 ;Serial
117 3h ;Refresh after 3 hours
118 1h ;Retry after one hour
119 1w ;Expire after one week
120 1h ) ;Negative caching TTL of 1 hour
121
122 ;Name servers
123 2.1.168.192.in-addr.arpa. IN NS bullet.espersunited.com.
124
125 ;Host addresses
126
127 2.1.168.192.in-addr.arpa. IN PTR bullet.espersunited.com.
128 3.1.168.192.in-addr.arpa. IN PTR camille.espersunited.com.
129 4.1.168.192.in-addr.arpa. IN PTR catherine.espersunited.com.
130
131 ;Aliases
132
133 bullet.espersunited.com. IN CNAME bullet.espersunited.com.
134 camille.espersunited.com. IN CNAME camille.espersunited.com.
135 catherine.espersunited.com. IN CNAME catherine.espersunited.com.
136
137
138 And finally, here's db.cache:
139
140 ; This file holds the information on root name servers needed to
141 ; initialize cache of Internet domain name servers
142 ; (e.g. reference this file in the "cache . <file>"
143 ; configuration file of BIND domain name servers).
144 ;
145 ; This file is made available by InterNIC
146 ; under anonymous FTP as
147 ; file /domain/named.root
148 ; on server FTP.INTERNIC.NET
149 ; -OR- RS.INTERNIC.NET
150 ;
151 ; last update: Jan 29, 2004
152 ; related version of root zone: 2004012900
153 ;
154 ;
155 ; formerly NS.INTERNIC.NET
156 ;
157 . 3600000 IN NS A.ROOT-SERVERS.NET.
158 A.ROOT-SERVERS.NET. 3600000 A 198.41.0.4
159 ;
160 ; formerly NS1.ISI.EDU
161 ;
162 . 3600000 NS B.ROOT-SERVERS.NET.
163 B.ROOT-SERVERS.NET. 3600000 A 192.228.79.201
164 ;
165 ; formerly C.PSI.NET
166 ;
167 . 3600000 NS C.ROOT-SERVERS.NET.
168 C.ROOT-SERVERS.NET. 3600000 A 192.33.4.12
169 ;
170 ; formerly TERP.UMD.EDU
171 ;
172 . 3600000 NS D.ROOT-SERVERS.NET.
173 D.ROOT-SERVERS.NET. 3600000 A 128.8.10.90
174 ;
175 ; formerly NS.NASA.GOV
176 ;
177 . 3600000 NS E.ROOT-SERVERS.NET.
178 E.ROOT-SERVERS.NET. 3600000 A 192.203.230.10
179 ;
180 ; formerly NS.ISC.ORG
181 ;
182 . 3600000 NS F.ROOT-SERVERS.NET.
183 F.ROOT-SERVERS.NET. 3600000 A 192.5.5.241
184 ;
185 ; formerly NS.NIC.DDN.MIL
186 ;
187 . 3600000 NS G.ROOT-SERVERS.NET.
188 G.ROOT-SERVERS.NET. 3600000 A 192.112.36.4
189 ;
190 ; formerly AOS.ARL.ARMY.MIL
191 ;
192 . 3600000 NS H.ROOT-SERVERS.NET.
193 H.ROOT-SERVERS.NET. 3600000 A 128.63.2.53
194 ;
195 ; formerly NIC.NORDU.NET
196 ;
197 . 3600000 NS I.ROOT-SERVERS.NET.
198 I.ROOT-SERVERS.NET. 3600000 A 192.36.148.17
199 ;
200 ; operated by VeriSign, Inc.
201 ;
202 . 3600000 NS J.ROOT-SERVERS.NET.
203 J.ROOT-SERVERS.NET. 3600000 A 192.58.128.30
204 ;
205 ; operated by RIPE NCC
206 ;
207 . 3600000 NS K.ROOT-SERVERS.NET.
208 K.ROOT-SERVERS.NET. 3600000 A 193.0.14.129
209 ;
210 ; operated by ICANN
211 ;
212 . 3600000 NS L.ROOT-SERVERS.NET.
213 L.ROOT-SERVERS.NET. 3600000 A 198.32.64.12
214 ;
215 ; operated by WIDE
216 ;
217 . 3600000 NS M.ROOT-SERVERS.NET.
218 M.ROOT-SERVERS.NET. 3600000 A 202.12.27.33
219 ; End of File
220
221
222 I hope the information I've provided will help you to assist me with
223 this problem...
224 -Michael Sullivan-
225
226
227
228 --
229 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] OT - Need help correcting my DNS configuration kashani <kashani-list@××××××××.net>
Re: [gentoo-user] OT - Need help correcting my DNS configuration Jonathan Nichols <jnichols@×××.net>