Click to See Complete Forum and Search --> : do ns1.* and mail.* need there own bind entries?


neotrace
02-10-2003, 06:14 PM
One server with running bind 9.2.1 on RH 7.3

do i need zone files for my mail and ns entries, such as mail.neocipher.net?

blizz
02-10-2003, 09:58 PM
Hi,

Yes you do ... on Redhat zone files go in /var/named

Sample zone for domain.com -

$TTL 86400
@ IN SOA ns1.domain.com. support.domain.com. (
20010923; Serial
10800 ; Refresh after 3hrs
3600 ; Retry after 1 hr
604800 ; Expire in 1 week
86400 ) ; Minimum ttl 1 day
IN NS ns1.domain.com.
IN NS ns2.domain.com.
domain.com. IN A 72.96.52.127
www IN CNAME domain.com.
ftp IN CNAME domain.com.
mail IN A 72.96.52.128
domain.com. IN MX 10 mail.domain.com.

Don't forget to add entry for new zone to named.conf file too.

neotrace
02-10-2003, 10:02 PM
well this is what i have


db.neocipher.net


$TTL 3h
@ IN SOA ns1.prcdigital.com. sreese.prcdigital.com. (
1 ; serial
3h ; refresh
1h ; retry
1w ;expire
1h ) ; minimum


IN NS ns1.prcdigital.com.
IN NS ns2.prcdigital.com.

IN MX 10 mail.neocipher.net.

IN A 66.35.133.90
localhost IN A 127.0.0.1
mail IN A 66.35.133.90
www IN A 66.35.133.90
ftp IN A 66.35.133.90


but my question is do I need a seperate file for the ns1 and the mail zone or will the db.neocipher.net entry suffice?

blizz
02-10-2003, 10:18 PM
Hi.

No you do not need addition zone file for the ns1 and the mail.

The zone file looks good. The db.neocipher.net entry will suffice.

Just add your entry to your named.conf file

zone "db.neocipher.net" {
type master;
file "db.neocipher.net";
};

neotrace
02-10-2003, 10:22 PM
what about entries for ns1.prcdigital.com, do they need their own zone files?

blizz
02-10-2003, 10:39 PM
To declare ns1.prcdigital.com as your master and ns2.prcdigital.com as the slave nameserver in your zone file for the domain neocipher.net you would have to have registered prcdigital.com as a host ns1.prcdigital.com and ns2.prcdigital.com with your domain registrar providing your ip(s).

Have you registered prcdigital.com as a host with the domain name registrar?

neotrace
02-10-2003, 10:52 PM
yes here's the zone file for it


$TTL 3h
@ IN SOA ns1.prcdigital.com. sreese.prcdigital.com. (
1 ; serial
3h ; refresh
1h ; retry
1w ;expire
1h ) ; minimum


IN NS ns1.prcdigital.com.
IN NS ns2.prcdigital.com.

@ IN MX 10 mail.itcdeltacom.net.

IN A 66.35.133.90
localhost IN A 127.0.0.1
ns1 IN A 66.35.133.90
ns2 IN A 66.35.133.91
www IN A 66.35.133.90
ftp IN A 66.35.133.90


they're pretty much the same, but prcdigital.com is the domain of the network

I have ns1.... and ns2.prc.... registered with networksolutions

blizz
02-10-2003, 11:31 PM
Your dns configuration seems to be o.k I can ping neocipher.net and it resolves to your 66.35.133.90 address.

However your dns changes for prcdigital.com have not resolved yet. Still pinting to NS1.DELTACOM.NET and NS2.DELTACOM.NET This usually takes about 24-48 hours.

I think you will be ok tommorow or shortly.

neotrace
02-13-2003, 02:04 AM
something must be wrong with my dns, when i go here: http://www.1command.com/dns/ and enter in neocipher.net it say the name servers are broken i'm not understanding why?


$TTL 3h
@ IN SOA ns1.prcdigital.com. sreese.prcdigital.com. (
1 ; serial
3h ; refresh
1h ; retry
1w ;expire
1h ) ; minimum

IN NS ns1.prcdigital.com.
IN NS ns2.prcdigital.com.

@ IN MX 10 mail.prcdigital.com.

localhost IN A 127.0.0.1
mail IN A 66.35.133.90
ns1 IN A 66.35.133.90
ns2 IN A 66.35.133.91
www IN A 66.35.133.90
ftp IN A 66.35.133.90




$TTL 3h
@ IN SOA ns1.prcdigital.com. sreese.prcdigital.com. (
1 ; serial
3h ; refresh
1h ; retry
1w ;expire
1h ) ; minimum

IN NS ns1.prcdigital.com.
IN NS ns2.prcidigtal.com.

@ IN MX 10 mail.neocipher.net.

localhost IN A 127.0.0.1
mail IN A 66.35.133.90
www IN A 66.35.133.90
ftp IN A 66.35.133.90


don't bother looking up prcdigital.com b/c the dns is still hosted with our isp i've just setup the record to setup the name servers and i'll transfer it when the dns is corrected, just the neocipher.net which is hosted on the machine along with the dns

if someone helps me resolve this i'll send you a pII chip, board, and some memory (i'm tired of dealing with bind)

blizz
02-13-2003, 07:45 AM
Hi,

I can get to neocipher.net

http://www.samspade.org/t/dns?a=neocipher.net

Maybe http://www.1command.com/dns/ is broken

Try --> http://www.samspade.org/t/

neotrace
02-13-2003, 03:22 PM
something has to be wrong, i'm having a continues mail or dns lookup problem

neotrace
02-13-2003, 05:28 PM
I'm having this problem when relaying the mail from my courier imap server to our isp?

Reporting-MTA: dns; mailrtr1.mailzone.edeltacom.com
Arrival-Date: Thu, 13 Feb 2003 16:13:26 -0500 (EST)
X-Message-Diagnostic-Code: smtp; 550-Envelope sender verification failed

Final-Recipient: RFC822; courier-users-request@lists.sourceforge.net
Action: failed
Status: 5.0.0
Remote-MTA: DNS; mail.sourceforge.net
Diagnostic-Code: SMTP; 550-Envelope sender verification failed
Last-Attempt-Date: Thu, 13 Feb 2003 16:14:04 -0500 (EST)

This seems like a dns problem?