Why is reverse not working?

W. James Showalter, Jr. gamma at mintaka.iern.disa.mil
Thu Apr 11 19:57:57 UTC 2002


Lisa,

I'm just guessing here but it looks like you are delegated a /26 address
space.  Here is a result of my dig query for one of your addresses.

;253.157.203.207.in-addr.arpa.  IN      PTR

;; ANSWER SECTION:
253.157.203.207.in-addr.arpa. 43200 IN  CNAME   253.192.157.203.207.in-addr.arpa.


I also checked and your ISP BellSouth shows that your names server is
authoritative for 207.203.157.192.

I admit I am not that familiar with non-octet aligned delegations (RFC
2317) but it may work if you do the following type of change for all your
records.


253.192         IN PTR    ppp47.campbellcounty.com.

Depending on which Bind you are using you should be able to simplify this
with the $GENERATE directive.  I suggest trying this with one or two
records before committing to a complete change.

Changing your zone to 192.157.203.207.in-addr.arpa in your config file may
also work and be simpler.

Jim




> Hi,
>
> We recently acquired a system that reverse lookups are not working on. I did
> not do the zone files for this system, but on cursory inspection I can't
> tell why it's broke. I suspect that (maybe) the delegation for the
> in-addr.arpa hasn't been done properly but I don't know how to figure that
> out.
>
> A portion of named.conf:
>
>
> // reduce log verbosity on issues outside our control
> logging {
>         category lame-servers { null; };
>         category cname { null; };
> };
>
> // prime the server with knowledge of the root servers
> zone "." {
>         type hint;
>         file "/etc/bind/db.root";
> };
>
> // be authoritative for the localhost forward and reverse zones, and for
> // broadcast zones as per RFC 1912
>
> zone "localhost" {
>         type master;
>         file "/etc/bind/db.local";
> };
>
> zone "127.in-addr.arpa" {
>         type master;
>         file "/etc/bind/db.127";
> };
>
> zone "0.in-addr.arpa" {
>         type master;
>         file "/etc/bind/db.0";
> };
>
> zone "255.in-addr.arpa" {
>         type master;
>         file "/etc/bind/db.255";
> };
>
> // add entries for other zones below here
>
>
> zone "157.203.207.in-addr.arpa" {
>         type master;
>         file "/etc/bind/db.207.203.157";
> };
>
> zone "93.77.216.in-addr.arpa" {
>         type master;
>         file "/etc/bind/db.216.77.93";
> };
>
> zone "0.168.192.in-addr.arpa" {
>             type master;
>                   file "/etc/bind/db.192.168.0";
>       allow-update {192.168.0.0/24; 207.203.157.196;};
> };
>
> zone "masq.campbellcounty.com" {
>       type master;
>       file "/etc/bind/db.masq.campbellcounty.com";
>       allow-update {192.168.0.0/24; 207.203.157.196;};
> };
>
> zone "campbellcounty.com" {
>             type master;
>                 file "/etc/bind/db.campbellcounty.com";
> };
>
>
> db.campbellcounty.com:
>
> $TTL 3h
>
> @ IN SOA ns.campbellcounty.com. root.campbellcounty.com. (
>                                 2002031401      ; Serial
>                                 2h              ; Refresh after 2 hours
>                                 1h              ; Retry after 1 hour
>                                 1w              ; Expire after 1 week
>                                 1h )    ; Negative caching TTL of 1 hour
>
> ; Name Servers and Mail eXchangers
>
>             IN NS     ns.campbellcounty.com.
>             IN MX  0  mail.campbellcounty.com.
>
>             IN A      207.203.157.196
> localhost   IN A      127.0.0.1
> gateway     IN A      207.203.157.193
> scully      IN A      207.203.157.200
> billing     IN A      207.203.157.201
> pm1         IN A      207.203.157.195
> mulder      IN A      207.203.157.196
> conor       IN A      207.203.157.203
> sisiphus    IN A      207.203.157.206
> david       IN CNAME  sisiphus.campbellcounty.com.
>
> www         IN CNAME  campbellcounty.com.
> ftp         IN CNAME  campbellcounty.com.
> mail        IN CNAME  campbellcounty.com.
> webmail     IN CNAME  campbellcounty.com.
> ns          IN CNAME  campbellcounty.com.
> debian      IN CNAME  scully.campbellcounty.com.
> admin       IN CNAME  mulder.campbellcounty.com.
> pos         IN CNAME  scully.campbellcounty.com.
> galileebiblecamp   IN CNAME campbellcounty.com.
> ppp1        IN A      207.203.157.207
> ppp2        IN A      207.203.157.208
> ppp3        IN A      207.203.157.209
> ppp4        IN A      207.203.157.210
> ppp5        IN A      207.203.157.211
> ppp6        IN A      207.203.157.212
> ppp7        IN A      207.203.157.213
> ppp8        IN A      207.203.157.214
> ppp9        IN A      207.203.157.215
> ppp10       IN A      207.203.157.216
> ppp11       IN A      207.203.157.217
> ppp12       IN A      207.203.157.218
> ppp13       IN A      207.203.157.219
> ppp14       IN A      207.203.157.220
> ppp15       IN A      207.203.157.221
> ppp16       IN A      207.203.157.222
> ppp17       IN A      207.203.157.223
> ppp18       IN A      207.203.157.224
> ppp19       IN A      207.203.157.225
> ppp20       IN A      207.203.157.226
> ppp21       IN A      207.203.157.227
> ppp22       IN A      207.203.157.228
> ppp23       IN A      207.203.157.229
> ppp24       IN A      207.203.157.230
> ppp25       IN A      207.203.157.231
> ppp26       IN A      207.203.157.232
> ppp27       IN A      207.203.157.233
> ppp28       IN A      207.203.157.234
> ppp29       IN A      207.203.157.235
> ppp30       IN A      207.203.157.236
> ppp31       IN A      207.203.157.237
> ppp32       IN A      207.203.157.238
> ppp33       IN A      207.203.157.239
> ppp34       IN A      207.203.157.240
> ppp35       IN A      207.203.157.241
> ppp36       IN A      207.203.157.242
> ppp37       IN A      207.203.157.243
> ppp38       IN A      207.203.157.244
> ppp39       IN A      207.203.157.245
> ppp40       IN A      207.203.157.246
> ppp41       IN A      207.203.157.247
> ppp42       IN A      207.203.157.248
> ppp43       IN A      207.203.157.249
> ppp44       IN A      207.203.157.250
> ppp45       IN A      207.203.157.251
> ppp46       IN A      207.203.157.252
> ppp47       IN A      207.203.157.253
> ppp48       IN A      207.203.157.254
> pm2         IN A      216.77.93.130
> ppp49       IN A      216.77.93.131
> ppp50       IN A      216.77.93.132
> ppp51       IN A      216.77.93.133
> ppp52       IN A      216.77.93.134
> ppp53       IN A      216.77.93.135
> ppp54       IN A      216.77.93.136
> ppp55       IN A      216.77.93.137
> ppp56       IN A      216.77.93.138
> ppp57       IN A      216.77.93.139
> ppp58       IN A      216.77.93.140
> ppp59       IN A      216.77.93.141
> ppp60       IN A      216.77.93.142
> ppp61       IN A      216.77.93.143
> ppp62       IN A      216.77.93.144
> ppp63       IN A      216.77.93.145
> ppp64       IN A      216.77.93.146
> ppp65       IN A      216.77.93.147
> ppp66       IN A      216.77.93.148
> ppp67       IN A      216.77.93.149
> ppp68       IN A      216.77.93.150
> ppp69       IN A      216.77.93.151
> ppp70       IN A      216.77.93.152
> ppp71       IN A      216.77.93.153
> ppp72       IN A      216.77.93.154
> ppp73       IN A      216.77.93.155
> ppp74       IN A      216.77.93.156
> ppp75       IN A      216.77.93.157
> ppp76       IN A      216.77.93.158
> ppp77       IN A      216.77.93.159
> ppp78       IN A      216.77.93.160
> ppp79       IN A      216.77.93.161
> ppp80       IN A      216.77.93.162
> ppp81       IN A      216.77.93.163
> ppp82       IN A      216.77.93.164
> ppp83       IN A      216.77.93.165
> ppp84       IN A      216.77.93.166
> ppp85       IN A      216.77.93.167
> ppp86       IN A      216.77.93.168
> ppp87       IN A      216.77.93.169
> ppp88       IN A      216.77.93.170
> ppp89       IN A      216.77.93.171
> ppp90       IN A      216.77.93.172
> ppp91       IN A      216.77.93.173
> ppp92       IN A      216.77.93.174
> ppp93       IN A      216.77.93.175
> ppp94       IN A      216.77.93.176
> ppp95       IN A      216.77.93.177
> ppp96       IN A      216.77.93.178
> ppp97       IN A      216.77.93.179
> ppp98       IN A      216.77.93.180
> ppp99       IN A      216.77.93.181
> ppp100      IN A      216.77.93.182
> ppp101      IN A      216.77.93.183
> ppp102      IN A      216.77.93.184
> ppp103      IN A      216.77.93.185
> ppp104      IN A      216.77.93.186
> ppp105      IN A      216.77.93.187
> ppp106      IN A      216.77.93.188
> ppp107      IN A      216.77.93.189
> ppp108      IN A      216.77.93.190
>
>
> db.207.203.157:
>
> $TTL 3h
>
> @ IN SOA ns.campbellcounty.com. hostmaster.campbellcounty.com. (
>                 1       ; Serial
>                 3h      ; Refresh after 3 hours
>                 1h      ; Retry after 1 hour
>                 1w      ; Expire after 1 week
>                 1h )    ; Negative caching TTL of 1 hour
>
> ; Name Servers
>
>             IN NS     ns.campbellcounty.com.
>
>
> 193         IN PTR    gateway.campbellcounty.com.
> 194         IN PTR    mulder.campbellcounty.com.
> 195         IN PTR    pm1.campbellcounty.com.
> 196         IN PTR    mulder.campbellcounty.com.
> 200         IN PTR    scully.campbellcounty.com.
> 203         IN PTR    conor.campbellcounty.com.
> 206         IN PTR    sisiphus.campbellcounty.com.
> 207         IN PTR    ppp1.campbellcounty.com.
> 208         IN PTR    ppp2.campbellcounty.com.
> 209         IN PTR    ppp3.campbellcounty.com.
> 210         IN PTR    ppp4.campbellcounty.com.
> 211         IN PTR    ppp5.campbellcounty.com.
> 212         IN PTR    ppp6.campbellcounty.com.
> 213         IN PTR    ppp7.campbellcounty.com.
> 214         IN PTR    ppp8.campbellcounty.com.
> 215         IN PTR    ppp9.campbellcounty.com.
> 216         IN PTR    ppp10.campbellcounty.com.
> 217         IN PTR    ppp11.campbellcounty.com.
> 218         IN PTR    ppp12.campbellcounty.com.
> 219         IN PTR    ppp13.campbellcounty.com.
> 220         IN PTR    ppp14.campbellcounty.com.
> 221         IN PTR    ppp15.campbellcounty.com.
> 222         IN PTR    ppp16.campbellcounty.com.
> 223         IN PTR    ppp17.campbellcounty.com.
> 224         IN PTR    ppp18.campbellcounty.com.
> 225         IN PTR    ppp19.campbellcounty.com.
> 226         IN PTR    ppp20.campbellcounty.com.
> 227         IN PTR    ppp21.campbellcounty.com.
> 228         IN PTR    ppp22.campbellcounty.com.
> 229         IN PTR    ppp23.campbellcounty.com.
> 230         IN PTR    ppp24.campbellcounty.com.
> 231         IN PTR    ppp25.campbellcounty.com.
> 232         IN PTR    ppp26.campbellcounty.com.
> 233         IN PTR    ppp27.campbellcounty.com.
> 234         IN PTR    ppp28.campbellcounty.com.
> 235         IN PTR    ppp29.campbellcounty.com.
> 236         IN PTR    ppp30.campbellcounty.com.
> 237         IN PTR    ppp31.campbellcounty.com.
> 238         IN PTR    ppp32.campbellcounty.com.
> 239         IN PTR    ppp33.campbellcounty.com.
> 240         IN PTR    ppp34.campbellcounty.com.
> 241         IN PTR    ppp35.campbellcounty.com.
> 242         IN PTR    ppp36.campbellcounty.com.
> 243         IN PTR    ppp37.campbellcounty.com.
> 244         IN PTR    ppp38.campbellcounty.com.
> 245         IN PTR    ppp39.campbellcounty.com.
> 246         IN PTR    ppp40.campbellcounty.com.
> 247         IN PTR    ppp41.campbellcounty.com.
> 248         IN PTR    ppp42.campbellcounty.com.
> 249         IN PTR    ppp43.campbellcounty.com.
> 250         IN PTR    ppp44.campbellcounty.com.
> 251         IN PTR    ppp45.campbellcounty.com.
> 252         IN PTR    ppp46.campbellcounty.com.
> 253         IN PTR    ppp47.campbellcounty.com.
> 254         IN PTR    ppp48.campbellcounty.com.
>
>
> Thanks,
>
> Lisa Casey
>
>
>
>
>




More information about the bind-users mailing list