[ale] Fwd: DNS/Domain BIND help

Scott Castaline skotchman at gmail.com
Sun Jan 17 20:49:15 EST 2010


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


More information about the Ale mailing list