Can not reach any servers inside my network, outside is ok

Mark Damrose mdamrose at elgin.cc.il.us
Fri Nov 22 04:24:37 UTC 2002


"Ralph" <php4u at pacbell.net> wrote in message
news:arkb0v$c6ir$1 at isrv4.isc.org...
>
> I have just finished setting up DNS on a Mandrake-9 box for my
> internal network. The box also acts as my external webserver, with
> access via DSL/Router. I have my workstation XP boxes using the
> Mandrake box as DNS, which works fine to reach external sites
> (forwarders works fine), but I can't see my internal web servers (www
> and mdf).
> In trying to debug this problem, I have ran RNDC and debugged via
> /var/log/messages. I have used named-checkconf and named-checkconfig
> and do not get any errors. I am guessing it's something stupid I over
> looked. I have provided my named.conf and zone files below.
>
> Sorry for the waste of time...maybe this can help someone else too.
>
> thanks in advance
> Ralph
> ----------------------------------------
> named start results:
>
> Nov 21 19:18:19 www named[21265]: starting BIND 9.2.1 -u named
> Nov 21 19:18:19 www named[21265]: using 1 CPU
> Nov 21 19:18:19 www named[21267]: loading configuration from
> '/etc/named.conf'
> Nov 21 19:18:19 www named[21267]: no IPv6 interfaces found
> Nov 21 19:18:19 www named[21267]: listening on IPv4 interface lo,
> 127.0.0.1#53
> Nov 21 19:18:19 www named[21267]: listening on IPv4 interface eth0,
> 192.168.123.139#53
> Nov 21 19:18:19 www named[21267]: command channel listening on
> 127.0.0.1#953
> Nov 21 19:18:19 www named[21267]: zone 0.0.127.in-addr.arpa/IN: loaded
> serial 2002112000
> Nov 21 19:18:19 www named[21267]: dns_master_load: 192.168.123.rev:12:
> ignoring out-of-zone data (policing.net)
> Nov 21 19:18:19 www named[21267]: dns_master_load: 192.168.123.rev:25:
> ignoring out-of-zone data (139.policing.net)
> Nov 21 19:18:19 www named[21267]: dns_master_load: 192.168.123.rev:26:
> ignoring out-of-zone data (111.policing.net)
> Nov 21 19:18:19 www named[21267]: dns_master_load: 192.168.123.rev:27:
> ignoring out-of-zone data (197.policing.net)
> Nov 21 19:18:19 www named[21267]: zone 123.168.192.in-addr.arpa/IN:
> could not find NS and/or SOA records
> Nov 21 19:18:19 www named[21267]: zone 123.168.192.in-addr.arpa/IN:
> has 0 SOA records
> Nov 21 19:18:19 www named[21267]: zone 123.168.192.in-addr.arpa/IN:
> has no NS records
> Nov 21 19:18:19 www named[21267]: zone 4.120.66.in-addr.arpa/IN:
> loaded serial 2002110905
> Nov 21 19:18:19 www named[21267]: dns_master_load: policing.net.db:32:
> www.policing.net: CNAME and other data
> Nov 21 19:18:19 www named[21267]: zone policing.net/IN: loading master
> file policing.net.db: CNAME and other data
> Nov 21 19:18:19 www named[21267]: running
> Nov 21 19:18:19 www named: named startup succeeded
>
>
> ------------------------
> [root at www named]# rndc status
> number of zones: 6
> debug level: 0
> xfers running: 0
> xfers deferred: 0
> soa queries in progress: 0
> query logging is OFF
> server is up and running
> --------------------------------------
>
>
>
> ---------------------------------------
> Named.conf :
>
> options {
>         directory "/var/named";
>         pid-file "/var/run/named/named.pid";
>   //      allow-query {192.168.123.0/24; localhost; };
>
>         forwarders {
>                206.13.28.12;
>                 206.13.30.12; };
>
> };
>         controls {
>                 inet 127.0.0.1 allow { localhost; } keys { rndc_key;
> };
> };
>         key "rndc_key" {
>                 algorithm hmac-md5;
>                 secret
> "c3Ryb25nIGVub3VnaCBmb3IgYSBtYW4V0IG1hZGUgZm9yIGEgd29tYW4K";
> };
>
> zone "." {
>         type hint;
>         file "root.hints";
> };
> zone "policing.net" {
> //      allow-query {any;};
>         type master;
>         file "policing.net.db";
>         allow-transfer{
>         127.0.0.1;
>         };
> };
> zone "0.0.127.in-addr.arpa" {
>         type master;
>         file "127.0.0.rev";
>         notify no;
>         allow-transfer{
>         127.0.0.1;
>         };
> };
> zone "123.168.192.in-addr.arpa" {
>   //       allow-query {any;};
>         type master;
>         file "192.168.123.rev";
>         notify no;
>         allow-transfer{
>                 127.0.0.1;
> };
> };
> zone "4.120.66.in-addr.arpa" {
> //      allow-query {any;};
>       type master;
>       file "66.120.4.rev";
>       notify no;
>
> };
> -------------------------------------
> 192.168.123.rev:
>
> $Origin policing.net.
  ^^^^^^^^^^^^^^^^^^^^^
This is the 123.168.192.in-addr.arpa. file.  Get rid of this $origin
statement.


> $TTL 86400
> ; default file for 192.168.0.rev (to be used by bind8)
> ;
> ; setting a local DNS server for a local Class C network
> ; with an external DNS referee for non locally resolved address
> ;
> ; replace the __xxx__ values by the real ones
> ;
> ; Don't forget to upgrade the Serial number after a change
> ;
> @       IN      SOA     policing.net. root.policing.net. (
>                         2002212002
>                         28800
>                         14400
>                         3600000
>                         86400 )
>                         ;
>             TXT             "Policing.Net, your COPPS Consultants"
>           IN   NS           www.policing.net.
>
>
>
> ; Workstations
> 130     IN PTR  www.policing.net.
> 110     IN PTR  mdf.policing.net.
> 190     IN PTR     g4.policing.net.
>
>
> ;1      IN PTR  box1.
> ;2      IN PTR  box2.
>
> ;       254     IN PTR  box254.
> ;66.120.4.162 IN PTR www.policing.net
> -------------------------------------------
> policing.net.db:
>
> $ORIGIN policing.net.
> $TTL 86400      ; 1 day
> @       IN      SOA     policing.net. root.policing.net. (
>                         2002112102
>                         3600
>                         300
>                         172800
>                         43200 )
>
> ; List the name servers in use.  Unresolved (entries in other zones)
> ; will go to our ISP's name server isp.domain.name.com
>              NS           www.policing.net.
>
>
>              MX 10        www.policing.net.
>
> @      A    192.168.123.130
>
> www    A    192.168.123.130
>       TXT     "The Web Server"
>
> mdf    A    192.168.123.110
>       TXT     "SO Intranet Server"
>
> g4     A    192.168.123.190
>       TXT     "The MAC-Daddy Server"
>
> localhost       IN A       127.0.0.1
>
>     ; Alias (canonical) names
> ftp         IN CNAME        www.policing.net.
> www         IN CNAME        www.policing.net.
> mail        IN CNAME        www.policing.net.
> mdf         IN CNAME        mdf.policing.net.
>
>     ; List of machine names & addresses
> ;box2    IN A    192.168.0.2   ; comment
> ;box3    IN A    192.168.0.3   ; comment
> mdf.policing.net        IN      A       192.168.123.110
> g4.policing.net         IN      A       192.168.123.190
> www.policing.net        IN      A       192.168.123.130
> ----------------------------------------
> 66.120.4.rev:
>
> $TTL 3D
> ; default file for 192.168.123.rev (to be used by bind8)
> ;
> ; setting a local DNS server for a local Class C network
> ; with an external DNS referee for non locally resolved address
> ;
> ; replace the __xxx__ values by the real ones
> ;
> ; Don't forget to upgrade the Serial number after a change
> ;
> @       IN      SOA     policing.net. root.policing.net. (
>                         2002110905
>                         28800
>                         14400
>                         3600000
>                         86400 )
>           IN   NS    www.policing.net.
>           IN   NS    ns1.pbi.net.
>
> 162    IN PTR www.policing.net.
> ;139.123.168.192.in-addr.arpa.  IN      PTR     www.policing.net.
> ;197.123.168.192.in-addr.arpa.  IN      PTR     g4.policing.net.
> ;184.123.168.192.in-addr.arpa.  IN      PTR     ralphsxp.policing.net.
> ;114.123.168.192.in-addr.arpa.  IN      PTR     linda.policing.net.
>
>
>
> ;1      IN PTR  box1.
> ;2      IN PTR  box2.
>
> ;       254     IN PTR  box254.
> -----------------------------------
>




More information about the bind-users mailing list