Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 10th July 2008, 11:09
lrider lrider is offline
Member
 
Join Date: Nov 2006
Posts: 70
Thanks: 1
Thanked 2 Times in 2 Posts
Default 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.
Reply With Quote
Sponsored Links
  #2  
Old 11th July 2008, 10:48
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,504
Thanks: 813
Thanked 5,265 Times in 4,129 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 11th July 2008, 11:20
lrider lrider is offline
Member
 
Join Date: Nov 2006
Posts: 70
Thanks: 1
Thanked 2 Times in 2 Posts
Default

What I am trying o find is when is created a new "reverse" zone (x.y.x.in-addr.arpa)"
Reply With Quote
  #4  
Old 11th July 2008, 11:25
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,504
Thanks: 813
Thanked 5,265 Times in 4,129 Posts
Default

I described this in 1)
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 16th September 2008, 19:46
lrider lrider is offline
Member
 
Join Date: Nov 2006
Posts: 70
Thanks: 1
Thanked 2 Times in 2 Posts
Default

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.
Reply With Quote
  #6  
Old 17th September 2008, 18:00
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Please update to ISPConfig 2.2.25. It allows you to create the reverse records yourself instead of creating them automatically.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 21st October 2008, 19:33
lrider lrider is offline
Member
 
Join Date: Nov 2006
Posts: 70
Thanks: 1
Thanked 2 Times in 2 Posts
Default

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?
Reply With Quote
  #8  
Old 22nd October 2008, 07:05
hostchecker hostchecker is offline
Junior Member
 
Join Date: Oct 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I got a headache reading this.

Reply With Quote
  #9  
Old 22nd October 2008, 09:06
lrider lrider is offline
Member
 
Join Date: Nov 2006
Posts: 70
Thanks: 1
Thanked 2 Times in 2 Posts
Default

Hello,

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

Otherwhise, me I recomend you to check with your Doctor just in case is something important.
Reply With Quote
  #10  
Old 23rd October 2008, 16:11
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
 
Default

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
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Squid Proxy Caching on Linux obzerver Installation/Configuration 4 13th August 2008 19:51
Google Apps dayjahone General 19 29th March 2008 17:25
DNS Configuration Problems VMartins Installation/Configuration 10 24th July 2007 14:40
Unable send receive emails vassilis3 Installation/Configuration 15 19th May 2007 14:34
Reverse DNS disasm General 3 13th January 2006 19:43


All times are GMT +2. The time now is 06:31.


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