DYNDNS.ORG and Bind 9.2

Barry Margolin barmar at genuity.net
Tue Feb 5 16:24:53 UTC 2002


In article <a3nv93$en0 at pub3.rc.vix.com>, MWT <A at A.COM> wrote:
>I'm using the dyndns.org service for registering my assigned ADSL's IP.  I
>set up an internal Bind(9.2) server to resolve my 192.168.0.x addresses.  I
>also configured my Bind server to forward the unknown lookups to my ISP's
>dns server.
>
>Whenever I try and resolve my "bob.dyndns.org" to my ADSL's IP I get the
>common error message:
>----------------------------------------------------------------------------
>-
>[bob at l01]$ nslookup bob.dyndns.org
>Server:  l01.bob.dyndns.org
>Address:  0.0.0.0
>
>*** l01.bob.dyndns.org can't find bob.dyndns.org: Non-existent host/domain
>----------------------------------------------------------------------------
>-
>
>I do not want to hardcode my dynamic ADSL IP in the zone file.
>
>Any Ideas?

Remove the bob.dyndns.org zone from your named.conf file, since the
dyndns.org nameservers are hosting that name.  If you want to have an
internal domain, use something like internal.bob.dyndns.org.

>
>Here is some configurations:
>-------------------------------
>/etc/resolv.conf
>
>search bob.dyndns.org
>domain bob.dyndns.org
>nameserver 0.0.0.0
>--------------------------------
>/etc/named.conf
>
>options {
>        directory "/etc/named";
>        forwarders {
>                        {my.isp.dns.server};
>                   };
>};
>
>key "rndc-key" {
>       algorithm hmac-md5;
>       secret "bobhoperocksthisworld";
>};
>
>controls {
>       inet 127.0.0.1 port 953
>               allow { 127.0.0.1; } keys { "rndc-key"; };
>};
>
>zone "bob.dyndns.org" in {
>        notify no;
>        type master;
>        file "db.bob";
>};
>
>zone "localhost" in {
>        type master;
>        file "named.local";
>};
>
>zone "0.168.192.in-addr.arpa" in {
>        notify no;
>        type master;
>        file "db.192.168.0";
>};
>
>zone "0.0.127.in-addr.arpa" in {
>        type master;
>        file "db.127.0.0";
>};
>
>zone "." in {
>        type hint;
>        file "root.cache";
>};
>-------------------------------------
>dig bob.dyndns.org
>
>; <<>> DiG 8.3 <<>> bob.dyndns.org.
>;; res options: init recurs defnam dnsrch
>;; got answer:
>;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
>;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
>;; QUERY SECTION:
>;;      bob.dyndns.org, type = A, class = IN
>
>;; AUTHORITY SECTION:
>bob.dyndns.org.        1D IN SOA       l01.bob.dyndns.org.
>root.l01.bob.dyndns.org. (
>                                        1               ; serial
>                                        3H              ; refresh
>                                        1H              ; retry
>                                        1W              ; expiry
>                                        1D )            ; minimum
>
>
>;; Total query time: 5 msec
>;; FROM: l01.bob.dyndns.org to SERVER: default -- 0.0.0.0
>;; WHEN: Mon Feb  4 23:03:53 2002
>;; MSG SIZE  sent: 33  rcvd: 78
>
>
>I really would appreciate the help!
>
>
>Thanks in advance,
>           A
>
>


-- 
Barry Margolin, barmar at genuity.net
Genuity, Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.


More information about the bind-users mailing list