[ale] Fwd: DNS/Domain BIND help

Björn Gustafsson bg-ale at bjorng.net
Mon Jan 18 08:01:00 EST 2010


Hi Paul,

One problem that I see is that your domain serial number is too low.
The old SOA (presumably from your old domain vendor) has this SOA:

$ host -t SOA pcartwright.com
ns1.pipedns.com. dnsadmin.cl104.justhost.com. 2010011802 86400 7200
3600000 86400

Where the first number, 2010011802, is the serial number for the
entry.  In order for your new entry to take precedence, the serial
number must be numerically higher than that value.  Theirs follows a
pretty typical pattern of yyyyMMddRR, where RR is an intra-day
revision number.  Since yours is in the same format but starts 2007 it
will persist in having a lower precedence.  In your situation I would
set it to 2010011809 or higher.

http://rscott.org/dns/soa.html

Second, the TTL on that SOA record means it will take 86400 seconds to
expire.  If they did indeed update their DNS today (the 18th) then
their entry will be authoritative for around 24 hours.  There's not
much you can do about that.

Third, it appears that whois reports the servers ns{1,2,3}.pipedns.com
as your authoritative name servers.  That may be what you want in the
long run, but in the short term it might speed things up if you point
whois at your own name servers once your serial number is fixed.

On Sun, Jan 17, 2010 at 8:49 PM, Scott Castaline <skotchman at gmail.com> wrote:
> I'm forwarding this for Paul until he gets his DNS working as explained
> in the below. I now turn you over to our regularly scheduled --------------
>
> -------- Original Message --------
> Subject: DNS/Domain BIND help
> Date: Sun, 17 Jan 2010 19:25:40 -0500
> From: Paul Cartwright <pbcartwright at gmail.com>
> Reply-To: cartwright, paul <paul at pcartwright.com>
> To: Scott Castaline <skotchman at gmail.com>
>
> I seem to have lost my email for my domain. I cancelled my domain host
> today
> and THOUGHT I had it all figured out to host my own email.. but I don't
> think
> I have DNS working, and I am not getting my domain email to correspond with
> ale.org.
> if you could either HELP, or forward this to ALE and reply back to me at
> either:
> pbcartwright at yahoo.com
> pcart at atnex.net
> I would appreciate it:)
>
> ok, so I dropped my domain host, and setup my Debian server to host my own
> domain. No email... I have my domain registrar setup, but I need DNS/BIND
> setup ( I think??)
>
> my debian box is behind my router, which now has a static IP 208.65.88.107
>
> I have BIND now up and running, but it has been 15 years since I've worked
> with DNS..
> here is what I have: dig pcartwright.com:
> ;; QUESTION SECTION:
> ;pcartwright.com.               IN      A
>
> ;; ANSWER SECTION:
> pcartwright.com.        604800  IN      A       208.65.88.107
>
> ;; AUTHORITY SECTION:
> pcartwright.com.        604800  IN      NS      ns1.example.com.
> pcartwright.com.        604800  IN      NS      ns2.example.com.
>
> ;; Query time: 0 msec
> ;; SERVER: 127.0.0.1#53(127.0.0.1)
> ;; WHEN: Sun Jan 17 19:11:32 2010
> ;; MSG SIZE  rcvd: 93
>
> here is my current config files:
> /etc/bind/named.conf.local
> zone "pcartwright.com" {
>        type master;
>        file "/etc/bind/pcartwright.com.db";
> };
> zone "107.88.65.208.IN-ADDR.ARPA" {
>        type master;
>        file "/etc/bind/208.65.88.107.rev";
> };
>
> -----------------------------------
>  208.65.88.107.rev
> $ORIGIN 88.65.208.IN-ADDR.ARPA.
> @       IN      SOA     ns1.pcartwright.com.   mail.pcartwright.com. (
>                                        2007011501
>                                        7200
>                                        120
>                                        2419200
>                                        604800
> )
>         IN      NS      ns1.pcartwright.com.
>         IN      NS      ns2.pcartwright.com.
> 1       IN      PTR     ns1.pcartwright.com.
> 2       IN      PTR     ns2.pcartwright.com.
>
> -------------------------------------------------------
>
> pcartwright.com.db
> $TTL    604800
> @       IN      SOA     ns1.example.com. info.example.com. (
>                             2007011501         ; Serial
>                                   7200         ; Refresh
>                                    120         ; Retry
>                                2419200         ; Expire
>                                 604800)        ; Default TTL
> ;
> @       IN      NS      ns1.example.com.
> @       IN      NS      ns2.example.com.
> pcartwright.com.    IN      MX      10      mail.pcartwright.com.
> ;pcartwright.com.    IN      A       192.168.10.2
> pcartwright.com.    IN      A       208.65.88.107
> ;ns1                     IN      A       192.168.10.2
> ns1                     IN      A       208.65.88.107
> ;ns2                     IN      A       192.168.10.2
> ns2                     IN      A       208.65.88.107
> www                     IN      CNAME   pcartwright.com.
> ;mail                    IN      A       192.168.10.2
> mail                    IN      A       208.65.88.107
> ftp                     IN      CNAME   pcartwright.com.
> pcartwright.com.        IN      TXT     "v=spf1 ip4:208.65.88.107 a mx ~all"
> mail                    IN      TXT     "v=spf1 a -all"
> -------------------------------------------------
>
> any hints/tips/corrections/suggestions?
> I thought atnex was giving me a ptr file for
> mail.pcartwright.com ->pcartwright.com but I'm not sure it is still there..
>
> --
> Paul Cartwright

-- 
Björn Gustafsson



More information about the Ale mailing list