Setting Up DNS - New Problem

Kevin Darcy kcd at daimlerchrysler.com
Sat Apr 27 02:16:51 UTC 2002


"taoki.org" and "readingsbygina.com" resolve just fine to A records (64.228.131.14) for me.
I think you need to clarify the problem further.


- Kevin

"Michael H." wrote:

> OK after fixing the first problem, I've got a new one.
>
> I can access my local DNS server by  'gaia.taoki.lan'
>
> However, I have this computer known as 'taoki.org' and
> 'readingsbygina.com' on the WAN side. I did this by dyndns.org(since I
> have a non-static DSL connection). There's a client on this computer
> that updates Dyndns's records every time my IP changes.
>
> But ever since I set up this as a local DNS server, any 'taoki.org' or
> 'readingsbygina.com' requests do not get a response(sorry I can't be
> more specific, that's what I was told).
>
> So how do I get my local computers to know this computer as
> 'gaia.taoki.lan' AND outside computers know it as 'taoki.org'(or
> 'readingsbygina.com' for that matter)?
>
> here are my files:
>
> sorry for all the space.
>
> ---------
> /etc/named.conf
>
> // named configuration file for taoki.lan
>
> options {
>         directory "/var/named";
>         allow-query {
>                 192.168.1/24;
>                 127.0.0.1;
>         };
> };
>
> zone "." {
>         type hint;
>         file "db.cache";
> };
>
> zone "0.0.127.in-addr.arpa" {
>         type master;
>         file "db.127.0.0";
> };
>
> zone "taoki.lan" {
>         type master;
>         file "db.taoki.lan";
> };
>
> zone "1.168.192.in-addr.arpa" {
>         type master;
>         file "db.192.168.1";
> };
>
> --------
> /var/named/db.127.0.0
>
> ; begin 0.0.127.in-addr.arpa file
> ;
> $TTL    3h
> @       IN      SOA     gaia.taoki.lan. postmaster.taoki.lan. (
>                         1                       ; serial
>                         3h                      ; refresh
>                         1h                      ; retry
>                         1w                      ; expire
>                         1h                      ; negative caching
>                         )
>         IN      NS      gaia.taoki.lan.
> 0       IN      PTR     loopback.
> 1       IN      PTR     localhost.
> ;
> ; end of file
>
> -------
> /var/named/db.192.168.1
>
> ; begin 1.168.192.in-addr.arpa
> ;
> $TTL    3h
> @       IN      SOA     gaia.taoki.lan. postmaster.taoki.lan. (
>                                 01112101        ; serial, yymmdd##
>                                 3h              ; refresh
>                                 1h              ; retry
>                                 1w              ; expire
>                                 1h              ; negative caching
>                                 )
> ;
> ; nameserver
> ;
>         IN      NS              gaia.taoki.lan.
> ;
> ; hosts
> ;
> 1       IN      PTR             gw.taoki.lan.           ; TCP/IP Router
> 100     IN      PTR             gaia.taoki.lan.         ; Mac OS X
> 101     IN      PTR             mikado.taoki.lan.               ; Other Mac
> ;102    IN      PTR             printer.foo.local.      ; HP LaserJet 4ml
> ;
> ; end of file
>
> ----------
> /var/named/db.cache
>
> ; <<>> DiG 8.3 <<>> @a.root-servers.net . ns
> ; (1 server found)
> ;; res options: init recurs defnam dnsrch
> ;; got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6
> ;; flags: qr aa rd; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 13
> ;; QUERY SECTION:
> ;;      ., type = NS, class = IN
>
> ;; ANSWER SECTION:
> ..                      6D IN NS        H.ROOT-SERVERS.NET.
> ..                      6D IN NS        C.ROOT-SERVERS.NET.
> ..                      6D IN NS        G.ROOT-SERVERS.NET.
> ..                      6D IN NS        F.ROOT-SERVERS.NET.
> ..                      6D IN NS        B.ROOT-SERVERS.NET.
> ..                      6D IN NS        J.ROOT-SERVERS.NET.
> ..                      6D IN NS        K.ROOT-SERVERS.NET.
> ..                      6D IN NS        L.ROOT-SERVERS.NET.
> ..                      6D IN NS        M.ROOT-SERVERS.NET.
> ..                      6D IN NS        I.ROOT-SERVERS.NET.
> ..                      6D IN NS        E.ROOT-SERVERS.NET.
> ..                      6D IN NS        D.ROOT-SERVERS.NET.
> ..                      6D IN NS        A.ROOT-SERVERS.NET.
>
> ;; ADDITIONAL SECTION:
> H.ROOT-SERVERS.NET.     5w6d16h IN A    128.63.2.53
> C.ROOT-SERVERS.NET.     5w6d16h IN A    192.33.4.12
> G.ROOT-SERVERS.NET.     5w6d16h IN A    192.112.36.4
> F.ROOT-SERVERS.NET.     5w6d16h IN A    192.5.5.241
> B.ROOT-SERVERS.NET.     5w6d16h IN A    128.9.0.107
> J.ROOT-SERVERS.NET.     5w6d16h IN A    198.41.0.10
> K.ROOT-SERVERS.NET.     5w6d16h IN A    193.0.14.129
> L.ROOT-SERVERS.NET.     5w6d16h IN A    198.32.64.12
> M.ROOT-SERVERS.NET.     5w6d16h IN A    202.12.27.33
> I.ROOT-SERVERS.NET.     5w6d16h IN A    192.36.148.17
> E.ROOT-SERVERS.NET.     5w6d16h IN A    192.203.230.10
> D.ROOT-SERVERS.NET.     5w6d16h IN A    128.8.10.90
> A.ROOT-SERVERS.NET.     5w6d16h IN A    198.41.0.4
>
> ;; Total query time: 62 msec
> ;; FROM: taoki.org to SERVER: a.root-servers.net  198.41.0.4
> ;; WHEN: Wed Apr 24 10:51:10 2002
> ;; MSG SIZE  sent: 17  rcvd: 436
>
> ---------
> /var/named/db.taoki.lan
>
> ; begin taoki.lan zone file
> ;
> $TTL    3h
> @               IN      SOA     gaia.taoki.lan. postmaster.taoki.lan. (
>                                         01112101        ; serial, yymmdd##
>                                         3h              ; refresh
>                                         1h              ; retry
>                                         1w              ; expire
>                                         1h              ; negative caching
>                                         )
> ;
> ; nameserver
> ;
>                 IN      NS      gaia.taoki.lan.
> ;
> ; mail server
> ;
>                 IN      MX      10 gaia.taoki.lan.
> ;
> ; localhost
> ;
> localhost       IN      A       127.0.0.1
> ;
> ;       hosts in taoki.org
> ;
> gw              IN      A       192.168.1.1     ; TCP/IP router
> gaia            IN      A       192.168.1.100   ; Mac OS X
> mikado          IN      A       192.168.1.101   ; Other Mac
> ;printer                IN      A       192.168.1.102   ; HP LaserJet 4ml
> ;
> ; Aliases
> ;
> pop             IN      CNAME   gaia.taoki.lan.
> smtp            IN      CNAME   gaia.taoki.lan.
> www             IN      CNAME   gaia.taoki.lan.
> ftp             IN      CNAME   gaia.taoki.lan.
> ;
> ; end of file
>
> -----
> /etc/resolv.conf
>
> [taoki:/var/named] root# more /etc/resolv.conf
> search taoki.lan
> nameserver 192.168.1.100
>
> ------
> /etc/hostconfig
>
> ##
> # /etc/hostconfig
> ##
> # This file is maintained by the system control panels
> ##
>
> # Network configuration
> HOSTNAME=gaia.taoki.lan
> ROUTER=-AUTOMATIC-
>
> # Services
> AFPSERVER=-YES-
> APPLETALK=-NO-
> AUTHSERVER=-NO-
> AUTOMOUNT=-YES-
> CONFIGSERVER=-NO-
> IPFORWARDING=-NO-
> MAILSERVER=-YES-
> MANAGEMENTSERVER=-NO-
> NETINFOSERVER=-AUTOMATIC-
> RPCSERVER=-AUTOMATIC-
> NETBOOTSERVER=-NO-
> NISDOMAIN=-NO-
> TIMESYNC=-YES-
> QTSSERVER=-NO-
> SSHSERVER=-YES-
> WEBSERVER=-YES-
>
> Any help would be greatly apprectiated..
>
> Michael
>
> Barry Margolin <barmar at genuity.net> wrote in message news:<aa6ut0$5v5 at pub3.rc.vix.com>...
> > In article <aa6l1q$5jp at pub3.rc.vix.com>,
> > Michael H. <mykelkim34 at hotmail.com> wrote:
> > >nslookup gaia.taoki.lan  (my DNS server)
> > >
> > >I get :
> > >
> > >[taoki:/var/named] root# nslookup gaia.taoki.lan
> > >Server:  gaia.taoki.lan
> > >Address:  192.168.1.100
> > >
> > >*** gaia.taoki.lan can't find gaia.taoki.lan: Non-existent host/domain
> > >
> >
> > Have you checked your log file to see if named reports any errors when it
> > starts up?
> >
> > >my files are as such:
> >
> > You left out the named.conf file.
> >
> > >---------
> > >/var/named/db.taoki.lan
> > >
> > >; begin taoki.lan zone file
> > >;
> > >$TTL 3h
> > >@            IN      SOA     gaia.taoki.lan. postmaster.taoki.lan. (
> > >                                     01112101        ; serial, yymmdd##
> > >                                     3h              ; refresh
> > >                                     1h              ; retry
> > >                                     1w              ; expire
> > >                                     1h              ; negative caching
> > >                                     )
> > >;
> > >; nameserver
> > >;
> > >             IN      NS      gaia.taoki.lan.
> > >;
> > >; mail server
> > >;
> > >             IN      MX      10 gaia.taoki.lan.
> > >;
> > >; localhost
> > >;
> > >localhost    IN      A       127.0.0.1
> > >;
> > >;    hosts in taoki.org
> > >;
> > >gw           IN      A       192.168.1.1     ; TCP/IP router
> > >gaia         IN      A       192.168.1.100   ; Mac OS X
> > >mikado               IN      A       192.168.1.101   ; Other Mac
> > >;printer             IN      A       192.168.1.102   ; HP LaserJet 4ml - not used,
> > >commented-out
> >
> > Is this "commented-out" word on a line by itself in the real file, or did
> > your news posting software wrap it?  If it's like this in the file, you
> > need to comment the line.



More information about the bind-users mailing list