#1  
Old 4th February 2013, 13:46
asterinux asterinux is offline
Junior Member
 
Join Date: Aug 2012
Posts: 18
Thanks: 5
Thanked 1 Time in 1 Post
Default DNS Issue with ISPConfig 3

Hi all,

I managed to install ISPConfig 3 for the first time, and its also my first time to use ISPConfig, my dns(chrooted bind) is already configured, i can dig / nslookup records,.. but one thing I dont really get is that when i Add a Zone in ISPConfig Web Gui, it will be created in /var/named/chroot/var/named and the format of the file is eg: pri.mobile.domain.com, so it automatically created with a prefix of pri.,, can i configure ISPConfig not to add pri as prefix to my newly created zone file?... another thing after i create a zone file, do we need to manually include it to /etc/named.conf? ex: include /var/named/mobile.domain.com.


Thanks in advance,
Reply With Quote
Sponsored Links
  #2  
Old 4th February 2013, 14:03
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,003
Thanks: 825
Thanked 5,376 Times in 4,223 Posts
Default

Quote:
can i configure ISPConfig not to add pri as prefix to my newly created zone file?
No. ISPConfig will create the files with prefix and will also use this prefix in the named-conf-local file which conatains the zones and gets included in named.conf

Quote:
another thing after i create a zone file, do we need to manually include it to /etc/named.conf? ex: include /var/named/mobile.domain.com.
No. All you have to do is to include the named-conf-local file at the end of the name.conf file. If your server would have been empty (which is a requirement for the installation of ispconfig btw.) and installed as decribed in the perfects etup guide for ispconfig, then bind would have been setup correctly for the use with ispconfig automatically.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 4th February 2013, 14:16
asterinux asterinux is offline
Junior Member
 
Join Date: Aug 2012
Posts: 18
Thanks: 5
Thanked 1 Time in 1 Post
Default

thank you for your quick response, this is now the last part of my /etc/named.conf file.

PHP Code:
include "/var/named/chroot/var/named/named.local";
include 
"/var/named/chroot/etc/named.conf.local"
is this how it must be done?


btw, i dont have any zone declared in my /etc/named.conf file, as i said when i create a zone in ISPConfig, it is created in /var/named/chroot/var/named ..
Reply With Quote
  #4  
Old 4th February 2013, 14:19
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,003
Thanks: 825
Thanked 5,376 Times in 4,223 Posts
Default

If thats the file were ispconfig writes the zones in your installation, then its ok. You can freely configure this file in ispconfig under system > server config.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 4th February 2013, 14:34
asterinux asterinux is offline
Junior Member
 
Join Date: Aug 2012
Posts: 18
Thanks: 5
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by till View Post
If thats the file were ispconfig writes the zones in your installation, then its ok. You can freely configure this file in ispconfig under system > server config.
hi till, i already added a zone in mobile.domain.com, and added some test record.. but im unable to ping this record created.. heres my newly added zonefile..

$TTL 3600
@ IN SOA srv1.domain.com. admin.company.com. (
2013020401 ; serial, todays date + todays serial #
7200 ; refresh, seconds
540 ; retry, seconds
604800 ; expire, seconds
86400 ) ; minimum, seconds
;

test 86400 A 192.168.245.120

this file was in /var/named/chroot/var/named....
Reply With Quote
  #6  
Old 4th February 2013, 15:04
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,003
Thanks: 825
Thanked 5,376 Times in 4,223 Posts
Default

The file is incomplete as you did not add all required records. Incomplete files are skipped by bind.

Better use the dns wizard in ispconfig to add a zone as it will add required records like ns records automatically. If the ns records that you use for your zone are subdomains of the zone, then dont forget to add a-records for these subdomains as well.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
ISPConfig 3.0.3.3 fresh instalation - email tab is empty artur_gib Installation/Configuration 14 28th January 2014 19:02
ISPconfig setup - DNS, router and general access problems ingvar Installation/Configuration 6 31st July 2010 13:13
DNS and ISPConfig atjensen11 Installation/Configuration 1 19th February 2009 10:48
Google Apps dayjahone General 19 29th March 2008 17:25
ispconfig and external primary DNS FredZ Installation/Configuration 4 9th October 2006 14:50


All times are GMT +2. The time now is 20:12.


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