Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Linux Networking

DNS/Mail configuration question

Reply
 
Thread Tools Display Modes
  #1  
Old 11-26-2003, 03:38 AM
Default DNS/Mail configuration question



Hi there

This is my first time setting up a dns server for personal use, though I
have dabbled a little bit with bind 9 at work. I registered a domain name
"cagrippa.com" at godaddy and set up a couple of hosts at godaddy to act as
name servers for my domain. (It just so happens that everything is the same
computer).

The problem is, that while every host that I have named in my zone file
seems accessible, the "cagrippa.com" itself is not. Basically what I am
trying to do is get my server (mail and dns) set up so that emails can be
received to (E-Mail Removed). So far, I can send and receive emails to
(E-Mail Removed) which is one of the two name servers that
I registered with godaddy. Could someone give me a clue as to what I need
to do next?

Below is my external view from my named.conf file:

view "external" {
match-clients {any; };
recursion no; //no recursive queries from the outside

zone "cagrippa.com" {
type master;
file "external/db.cagrippa.com";
allow-transfer { none; };
};

zone "68.144.87.180.in-addr.arpa" IN {
type master;
file "external/db.68.144.87.180";
notify no;
};

zone "." IN {
type hint;
file "external/shaw.ca";
};

zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
notify no;
};

My db.cagrippa.com zone file is below:
$TTL 86400
@ IN SOA slug-server.cagrippa.com. postmaster.cagrippa.com. (
2003112501 ; Serial number
2h ; refresh after 3 hours
1h ; retry after 1 hour
1w ; expire after 1 week
1h ) ; negative caching TTL of 1 day
IN NS slug-server.cagrippa.com.
IN NS slug1.cagrippa.com.

IN MX 10 mail.cagrippa.com.

localhost IN A 127.0.0.1
mailhost IN A 68.144.87.180
mail IN A 68.144.87.180
slug-server IN A 68.144.87.180
slug1 IN A 68.144.87.180
www IN A 68.144.87.180
ftp IN A 68.144.87.180

Finally, my reverse lookup file:
$TTL 86400
@ IN SOA 180.87.144.68.in-addr.arpa. postmaster.cagrippa.com. (
2003112502 ; Serial number
3h ; refresh after 3 hours
1h ; retry after 1 hour
1w ; expire after 1 week
1h ) ; negative caching TTL of 1 day
IN NS slug-server.cagrippa.com.
IN NS slug1.cagrippa.com.

180.87.144.68.IN-ADDR.ARPA IN PTR slug-server.cagrippa.com
180.87.144.68.IN-ADDR.ARPA IN PTR slug1.cagrippa.com
180.87.144.68.IN-ADDR.ARPA IN PTR mailhost.cagrippa.com
180.87.144.68.IN-ADDR.ARPA IN PTR mail.cagrippa.com
180.87.144.68.IN-ADDR.ARPA IN PTR cagrippa.com
180.87.144.68.IN-ADDR.ARPA IN PTR ftp.cagrippa.com
180.87.144.68.IN-ADDR.ARPA IN PTR www.cagrippa.com

Any help would be much appreciated,

Thanks,

Sean




Sean Langley
Reply With Quote
  #2  
Old 11-26-2003, 05:39 AM
David Efflandt
Guest
 
Posts: n/a
Default Re: DNS/Mail configuration question

On Wed, 26 Nov 2003 03:38:50 GMT, Sean Langley <(E-Mail Removed)> wrote:
> Hi there
>
> This is my first time setting up a dns server for personal use, though I
> have dabbled a little bit with bind 9 at work. I registered a domain name
> "cagrippa.com" at godaddy and set up a couple of hosts at godaddy to act as
> name servers for my domain. (It just so happens that everything is the same
> computer).
>
> The problem is, that while every host that I have named in my zone file
> seems accessible, the "cagrippa.com" itself is not. Basically what I am
> trying to do is get my server (mail and dns) set up so that emails can be
> received to (E-Mail Removed). So far, I can send and receive emails to
> (E-Mail Removed) which is one of the two name servers that
> I registered with godaddy. Could someone give me a clue as to what I need
> to do next?


A domain name alone does not necessarily have to resolve. You have a
proper MX record pointing to an A record that all appears to be working
properly in public DNS. So the only question is, did you configure your
smtp server to accept mail for "cagrippa.com"? How you do that depends
upon which smtp server.

BTW if you want your domain alone to resolve (which is not really
required), you just need to list it with trailing dot like:

cagrippa.com. IN A 68.144.87.180

--
David Efflandt - All spam ignored http://www.de-srv.com/
Reply With Quote
  #3  
Old 11-26-2003, 11:41 AM
Linuxserverguru
Guest
 
Posts: n/a
Default Re: DNS/Mail configuration question

you should also check which DNS is authotitative of the subdomains.

good luck
john
http://www.comserver.net
Reply With Quote
  #4  
Old 11-28-2003, 02:45 AM
Sean Langley
Guest
 
Posts: n/a
Default Re: DNS/Mail configuration question

Thanks for the help, sendmail is now working as I had hoped.
"David Efflandt" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> On Wed, 26 Nov 2003 03:38:50 GMT, Sean Langley <(E-Mail Removed)> wrote:
> > Hi there
> >
> > This is my first time setting up a dns server for personal use, though I
> > have dabbled a little bit with bind 9 at work. I registered a domain

name
> > "cagrippa.com" at godaddy and set up a couple of hosts at godaddy to act

as
> > name servers for my domain. (It just so happens that everything is the

same
> > computer).
> >
> > The problem is, that while every host that I have named in my zone file
> > seems accessible, the "cagrippa.com" itself is not. Basically what I am
> > trying to do is get my server (mail and dns) set up so that emails can

be
> > received to (E-Mail Removed). So far, I can send and receive

emails to
> > (E-Mail Removed) which is one of the two name servers

that
> > I registered with godaddy. Could someone give me a clue as to what I

need
> > to do next?

>
> A domain name alone does not necessarily have to resolve. You have a
> proper MX record pointing to an A record that all appears to be working
> properly in public DNS. So the only question is, did you configure your
> smtp server to accept mail for "cagrippa.com"? How you do that depends
> upon which smtp server.
>
> BTW if you want your domain alone to resolve (which is not really
> required), you just need to list it with trailing dot like:
>
> cagrippa.com. IN A 68.144.87.180
>
> --
> David Efflandt - All spam ignored http://www.de-srv.com/



Reply With Quote
Reply

Tags
configuration, dns or mail, question

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 06:48 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.