Need advice on DNS

Barry Finkel b19141 at achilles.ctd.anl.gov
Mon Nov 10 14:01:28 UTC 2003


darpohsh at hotmail.com (Darren Poh) wrote:

>I have registered for a domain. Let take it to be 'mydomain.com'. The
>registrar do not help me to host my new domain. I use the DNS service
>by DNS-Made-Easy whereby I indicated 2 'A' records.
>
>mydomain.com. with the address 111.222.333.444
>ns0 with the same address
>
>I want to run my own DNS (BIND 9 on Redhat 7.3) on my dedicated
>server. Below is the content of my 'named.conf' file, follow by
>content of the file 'db.mydomain.com'
>
>*********************
>
>// Authorized source addresses
>acl "trusted" {
>        localhost;
>        111.222.333.444;
>};
>
>// Known fake source addresses shouldn't be replied to
>acl "bogon" {
>        0.0.0.0/8;
>        1.0.0.0/8;
>        2.0.0.0/8;
>        192.0.2.0/24;
>        224.0.0.0/3;
>        169.254.0.0/16;
>        // Enterprise networks may or may not be bogus
>        10.0.0.0/8;
>        172.16.0.0/12;
>        192.168.0.0/16;
>};
>
>options {
>        directory "/var/named";
>        query-source address * port 953;
>        allow-transfer { none; };
>        allow-query { trusted; };
>        allow-recursion { trusted; };
>        blackhole { bogon; };
>        version "OpenNA Linux";
>};
>
>logging {
>        category lame-servers { null; };
>};
>
>controls {
>        inet 127.0.0.1 allow { localhost; } keys { "mydomain.com"; };
>};
>
>zone "." IN {
>        type hint;
>        file "db.cache";
>};
>
>zone "mydomain.com" IN {
>        type master;
>        file "db.mydomain.com";
>        allow-update { none; };
>        notify no;
>};
>
>zone "0.0.127.in-addr.arpa" IN {
>        type master;
>        file "db.127.0.0";
>        allow-update { none; };
>        notify no;
>};
>
>zone "333.222.111.in-addr.arpa" IN {
>        type master;
>        file "db.111.222.333";
>        allow-update { none; };
>        notify no;
>};
>
>include "/etc/rndc.key";
>
>****************
>
>$TTL 10800
>@               IN    SOA ns0.mydomain.com. webmaster.mydomain.com. (
>                      2003110600    ; Serial No - yyyymmdd[0-9][0-9]
>                      10800         ; Refresh after 3 hrs
>                      3600          ; Retry after 1 hr
>                      604800        ; Expires after 1 wk
>                      10800         ; Negative caching TTL of 3 hrs
>                      )
>;
>; Name Server(s)
>;
>                IN NS      ns0.mydomain.com.
>                IN NS      ns0.dnsmadeeasy.com.
>                IN A       111.222.333.444
>                IN MX 10   mail.mydomain.com.
>;
>; Addresses for the canonical names
>;
>localhost       IN A       127.0.0.1
>ns0             IN A       111.222.333.444
>;
>; Aliases
>;
>www             IN CNAME   ns0
>mail            IN CNAME   ns0
>ftp             IN CNAME   ns0
>
>*************
>
>Remotely, I am able to ping to 'mydomain.com' and also
>'ns0.mydomain.com'. However, I am not able to ping to
>'www.mydomain.com'. It seems like the content in my DNS configuration
>is not been recognised by the 'outsie' world. I am not sure where went
>wrong. I hope someone can provide me with some advice.
>

You have two conflicting statements in your mail --

1) "It seems like the content in my DNS configuration is not been
    recognised by the 'outsie' world."

2) "I have registered for a domain. Let take it to be 'mydomain.com'."

If you want help, please tell us the REAL domain, so that we can make
some REAL queries and help you determine what is wrong with your
domain registration and/or BIND configuration files.
----------------------------------------------------------------------
Barry S. Finkel
Computing and Instrumentation Solutions Division
Argonne National Laboratory          Phone:    +1 (630) 252-7277
9700 South Cass Avenue               Facsimile:+1 (630) 252-4601
Building 222, Room D209              Internet: BSFinkel at anl.gov
Argonne, IL   60439-4828             IBMMAIL:  I1004994



More information about the bind-users mailing list