[ale] DNS/BIND/domain HELP!
Paul Cartwright
pbcartwright at gmail.com
Sun Jan 17 19:22:26 EST 2010
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