HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   DNS Zone file configuration (http://www.howtoforge.com/forums/showthread.php?t=3209)

Commdude 19th March 2006 00:18

DNS Zone file configuration
 
I've had several problems which I'm sure are related to my DNS configuration. Here's my record for my main domain:

"A" RECORD: @ 71.39.7.66
www 71.39.7.66
netsrvr1 71.39.7.66
smtp 71.39.7.66

CNAMES (Aliases): None
MX (Mail Exchangers) : 0 @ netsrvr1.bitterbrushnet.com
TEXT: @ v=spf1 a ptr mx:smtp.bitterbrushnet.com -all

My reverse DNS record is configured as:
71.39.7.66 >>> bitterbrushnet.com My ISP only allows one entry per IP address. Is this normal, or is it just them?

I had problems (mail test failure) when I used smtp.bitterbrushnet.com in the MX record. When I changed it to netsrvr1 (my real hostname as configured during initial installation) I was able to receive mail. So, (1) what is the optimum zone file configuration, and (2) how does this apply to virtual hosts? Do their MX records read "smtp.virtualhost.com"?

Cirox 19th March 2006 00:38

Hi,

every ip can have only one reverse dns name, but many domains could point to one ip.

i dont know exactly if this solves your problem, but for a right configured mailserver, its better to use reversedns name = fqdn of your box and you have to have a dns.zone like this for example:

@ IN MX 10 yourserver
smtp IN CNAME yourserver
yourserver IN A ip.from.yourserver

with smtp.example.com you can reach imap and smtp server to send/recieve mails with your client

greetings cirox

Commdude 19th March 2006 01:28

Quote:

Originally Posted by Cirox
Hi,

every ip can have only one reverse dns name, but many domains could point to one ip.

i dont know exactly if this solves your problem, but for a right configured mailserver, its better to use reversedns name = fqdn of your box and you have to have a dns.zone like this for example:

@ IN MX 10 yourserver
smtp IN CNAME yourserver
yourserver IN A ip.from.yourserver

with smtp.example.com you can reach imap and smtp server to send/recieve mails with your client

greetings cirox

My ISP does not give me the capability to configure anything in my reverse zone file other than my domain. I'll do a reverse DNS check and see what I have.

Commdude 19th March 2006 01:46

Quote:

Originally Posted by Cirox
Hi,

every ip can have only one reverse dns name, but many domains could point to one ip.

i dont know exactly if this solves your problem, but for a right configured mailserver, its better to use reversedns name = fqdn of your box and you have to have a dns.zone like this for example:

@ IN MX 10 yourserver
smtp IN CNAME yourserver
yourserver IN A ip.from.yourserver

with smtp.example.com you can reach imap and smtp server to send/recieve mails with your client

greetings cirox

My ISP does not give me the capability to configure anything in my reverse zone file other than my domain. I'm using my registrar's namesservers, and they were no help in configuring my zone file. In fact, I called them and the rep told me that I couldn't use their nameservers if I was hosting my own sites.
I'll just keep trying to figure it out. Thanks for your help.

falko 19th March 2006 13:28

I found out that netsrvr1.bitterbrushnet.com doesn't exist:

Code:

dig netsrvr1.bitterbrushnet.com

; <<>> DiG 9.2.1 <<>> netsrvr1.bitterbrushnet.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 16522
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;netsrvr1.bitterbrushnet.com.  IN      A

;; AUTHORITY SECTION:
bitterbrushnet.com.    10800  IN      SOA    NS3.SECURESERVER.NET. dns.jomax.NET. 2006031600 28800 7200 604800 86400

;; Query time: 166 msec
;; SERVER: 81.169.163.104#53(81.169.163.104)
;; WHEN: Sun Mar 19 13:27:09 2006
;; MSG SIZE  rcvd: 111

Where did you configure the DNS records? In ISPConfig or at your registrar?

Commdude 19th March 2006 18:59

Quote:

Originally Posted by falko
I found out that netsrvr1.bitterbrushnet.com doesn't exist:

Where did you configure the DNS records? In ISPConfig or at your registrar?

I changed that to netsrvr1.bitterbrushnet.net. This is my tech domain and I also tried to find all the conf files that needed to be changed, and I'm not sure that I found them all. I am using my registrar's nameservers, so that is where the zone records are located. The last go-roound I checked the zone files on my server (although BIND is not running) to see what my configuration should look like. It didn't seem to be consistent from one site to another (zone files created by ISPConfig.) I think I'm going to have to reinstall everything on my server and start from scratch.

till 19th March 2006 22:21

Quote:

Originally Posted by Commdude
I changed that to netsrvr1.bitterbrushnet.net. This is my tech domain and I also tried to find all the conf files that needed to be changed, and I'm not sure that I found them all. I am using my registrar's nameservers, so that is where the zone records are located. The last go-roound I checked the zone files on my server (although BIND is not running) to see what my configuration should look like. It didn't seem to be consistent from one site to another (zone files created by ISPConfig.) I think I'm going to have to reinstall everything on my server and start from scratch.

The DNS of your technical domain has nothing to do with your ISPConfig BIND installation! Just go to your registrar and create an A-Record for netsrvr1.bitterbrushnet.com pointing to your server IP.

Commdude 20th March 2006 02:02

Quote:

Originally Posted by till
The DNS of your technical domain has nothing to do with your ISPConfig BIND installation! Just go to your registrar and create an A-Record for netsrvr1.bitterbrushnet.com pointing to your server IP.

W:eek: ell, that sure was easy enough. I'll have to check the log and see how many hours I spent on that one...


All times are GMT +2. The time now is 16:39.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.