HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=15)
-   -   About reverse DNS (http://www.howtoforge.com/forums/showthread.php?t=24965)

lrider 10th July 2008 11:09

About reverse DNS
 
Hello,

I have 2 questions about how the reverse zones are generated by ispconfig:

1) What triggers the generation of a new zone?
2) What triggers the inclusion of a record in the reverse zone?

The thing is that I have 5 reverse zones in my server when I only have 1 range of Ip's.

Also I don't understand what takes for a domain to be included with a ptr record in the reverse zone.

Thank's in advance.....Larry.

till 11th July 2008 10:48

1) A new zone is generated when you add a new zone in dns manager or when you check the create dns checkbox when you add a website.
2) Originally it was the first domain for a specific IP, but falko had changed this in the latest update.

lrider 11th July 2008 11:20

What I am trying o find is when is created a new "reverse" zone (x.y.x.in-addr.arpa)"

till 11th July 2008 11:25

I described this in 1)

lrider 16th September 2008 19:46

I am sorry Till but I don´t get it.
I know there is something that I am missing and I don't know what.

If my server has only one IP how come I am going to serve the reverse zone of somebody else IP or IP-range.

Per example:

I have the IP range 200.100.0.192/28
I have one server with IP 200.100.0.196
My reverse zone is 192.0.100.200.in-addr.arpa (set up by my provider)
I have DNS records of domains that I redirect the "www" and MX entries to other servers.
I also manage webs and mail of domains that point to me but I don't have their DNS records.

I had to change the customized/named.conf.master for it to add a "192" before the {ZONE} so it would work for me.

Actualy in my server I have 7 "in-addr.arpa" zones when I sould only have 2, the "0.0.127.in-addr.arpa" and the "192.0.100.200.in-addr.arpa"

Why are the other 5 zones created.

I found out that they are the reverse zones of IP addresses I have asigned to an "A Record" of a domain I host.

Per example:
I have a "A record (WWW)" for a DNS Entry pointing to 82.223.149.150 because the web is served by another company.
This IP is not mine.
ISPConfig creates a "192.149.223.82.in-addr.arpa". ¿?¿?

I could understand if there where as many reverse zones created as IP Addresses are in the "Management-->Server-->Settings-->IP List" plus the "Management-->Server-->Settings-->IP Address" since this are the only IPs the server is going to manage as it does with the "/etc/httpd/conf/vhosts/Vhosts_ispconfig.conf" file (at least if it is connected directly to internet)

Thanks in advance for your time and explanation.

falko 17th September 2008 18:00

Please update to ISPConfig 2.2.25. It allows you to create the reverse records yourself instead of creating them automatically.

lrider 21st October 2008 19:33

I have now a sistem with IspConfig 2.2.25 installed and working.

I added a "New PTR":
Group: Admin
Title: ono
Folder: admin
IP Address: 213.201.123.86
Hostname: bs1.activa-icard.com

I checked for the entry in /var/named/chroot/etc/named.conf and nothing showup.
I checked for the file /var/named/chroot/var/named/pri.123.201.213.in-addr.arpa and nothing shows up

I include a copy of the /home/admispconfig/ispconfig/ispconfig.log

************************************************** *
21.10.2008 - 19:04:40 => INFO - Signalfile Set: insert
21.10.2008 - 19:04:42 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_sendmail.lib.php, Line 96: cp -fr /etc/mail/local-host-names /etc/mail/local-host-names~
21.10.2008 - 19:04:56 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_sendmail.lib.php, Line 238: cp -fr /etc/mail/virtusertable /etc/mail/virtusertable~
21.10.2008 - 19:04:56 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1265: cp -fr /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf~
21.10.2008 - 19:04:56 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_bind.lib.php, Line 366: create /var/named/chroot/var/named/pri.123.201.213.in-addr.arpa
21.10.2008 - 19:04:59 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 728: /etc/rc.d/init.d/named restart &> /dev/null
************************************************** *******

I don't know why it is not creating the entry and the file.

Any Ideas?

hostchecker 22nd October 2008 07:05

I got a headache reading this.
http://www.hostchecker.info/image9.jpg
http://www.hostchecker.info/image3.jpg

lrider 22nd October 2008 09:06

Hello,

If you can be more explicit about the cause for your headache maybe I can help you.:confused:

Otherwhise, me I recomend you to check with your Doctor just in case is something important.:)

falko 23rd October 2008 16:11

What's in /var/named/chroot/etc/named.conf, and what's the output of
Code:

ls -la /var/named/chroot/var/named
?
What's the output of
Code:

ls -la /root/ispconfig
?


All times are GMT +2. The time now is 15:46.

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