#1  
Old 4th November 2008, 21:54
quentusrex quentusrex is offline
Senior Member
 
Join Date: May 2008
Posts: 174
Thanks: 6
Thanked 11 Times in 7 Posts
Default Sample DNS zone

Can someone post a sample dns zone configuration for ISPConfig 3? I seem to not be able to get the proper value for 'email' set right. also the dns transer setting.
Reply With Quote
Sponsored Links
  #2  
Old 5th November 2008, 10:11
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,820
Thanks: 821
Thanked 5,340 Times in 4,189 Posts
Default

Full Email:

webmaster.domain.com.

This notation for email addressesis used ny all DNS Servers including BIND.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 5th November 2008, 11:38
skeldof skeldof is offline
Junior Member
 
Join Date: Oct 2008
Posts: 11
Thanks: 1
Thanked 2 Times in 2 Posts
Default

Using the sample program create_domain.pl from mydns, a simple domain ends up looking like:
Code:
$TTL 86400
; Zone: newdomain.tld. (#3)
; Wed Nov  5 10:11:24 2008
$ORIGIN newdomain.tld.

@       IN SOA  ns1.yourdomain.tld.     hostmaster.yourdomain.tld. (
        1                 ; Serial
        28800             ; Refresh
        7200              ; Retry
        604800            ; Expire
        86400           ) ; Minimum

*               86400   IN A            1.2.3.4
localhost       86400   IN A            127.0.0.1
mail            86400   IN A            1.2.3.4
newdomain.tld.  86400   IN A            1.2.3.4
newdomain.tld.  86400   IN MX           10 mail.newdomain.tld.
newdomain.tld.  86400   IN NS           ns1.yourdomain.tld.
newdomain.tld.  86400   IN NS           ns2.yourdomain.tld.
www             86400   IN A            1.2.3.4
In this example "newdomain.tld" is the domain being created. "yourdomain.tld" is the hosting domain having the name servers. 1.2.3.4 is the IP of the (ISPConfig) server hosting mail and website.

So, how does that relate to ISPConfig3's GUI?
$ORIGIN relates to "Zone (SOA)" input. Which is the domain being created, obviously

"NS" and "email" inputs are on the "@ IN SOA.." line. NS is the primary name server hosting the domain. Email is the email address of the domain creator which here is "hostmaster@yourdomain.tld". Note how the @ is replaced by a dot so the local part of the e-mail address has to be a single word.

Serial number is the identifier for the domain. ISPConfig automatically manages this for you (using the unix timestamp).

Refresh/retry/expire/minimum/ttl are timeouts in seconds.

"Allow Zone transfers" are for using AXFR to transfer the domain to other non-mydns DNS servers. Enter IPs or ranges here for which servers can access this data. See http://mydns.bboy.net/doc/html/mydns_19.html#SEC19 and http://mydns.bboy.net/doc/html/mydns_14.html#SEC14 for more details. Although this documentation isn't upto-date. I believe MyDNS-NG has added support for IXFR. Sample bind config and more details about AXFR here: http://www.wantlinux.net/?p=7

Rest of the lines are the RR records. Not sure why create_domain.pl added a localhost entry. These pretty much map to the items in ISPConfig's Record editing screen. "newdomain.tld." is to MyDNS what @ is to Bind.

Pay special attention to the location of trailing dots.
Reply With Quote
The Following User Says Thank You to skeldof For This Useful Post:
quentusrex (7th November 2008)
  #4  
Old 5th November 2008, 17:38
quentusrex quentusrex is offline
Senior Member
 
Join Date: May 2008
Posts: 174
Thanks: 6
Thanked 11 Times in 7 Posts
Default

Is anyone able to use the dns wizard to create a zone? I still can't seem it make it work right. It just says "Zone has a invalid format."
Reply With Quote
  #5  
Old 5th November 2008, 17:45
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,820
Thanks: 821
Thanked 5,340 Times in 4,189 Posts
Default

The DNS whizard is not implemented yet. If you want to add a dns record, click on "Add new DNS zone (SOA)" in the dns manager to add a zone.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 5th November 2008, 17:54
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,820
Thanks: 821
Thanked 5,340 Times in 4,189 Posts
Default

Maybe there is a misunderstanding, the dns whizard is a feature request (see bugtracker) which I'am working on at the moment. I did not upload it to svn, so you most likely mean the normal dns form. Creating dns records with this form works fine, I guess you missed to add a dot at the end of the zone (see post from skeldorf above).
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 6th November 2008, 21:50
quentusrex quentusrex is offline
Senior Member
 
Join Date: May 2008
Posts: 174
Thanks: 6
Thanked 11 Times in 7 Posts
Default

It turns out that the SOA value isn't suppose to be '2008110601' value...

Here is an example of the three values the current system requires:

SOA: example.com
NS: ns1.example.com
Mail: webmaster.example.com.
Reply With Quote
  #8  
Old 6th November 2008, 22:32
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,820
Thanks: 821
Thanked 5,340 Times in 4,189 Posts
Default

SOA = start of authority or in other words the domain name.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 7th November 2008, 17:31
quentusrex quentusrex is offline
Senior Member
 
Join Date: May 2008
Posts: 174
Thanks: 6
Thanked 11 Times in 7 Posts
 
Default

Yeah, it seems that after I dug through the source for the dns form(not till's new form) that it doesn't work the way I thought. I assumed that the validators would check for the trailing .'s and if they were missing would report an error.

I'm looking forward to Till's new dns wizard. I'll also budget some time to help get sensible errors and validation checks installed in the new system.
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 Zone Transfer not complete. joelee HOWTO-Related Questions 3 19th August 2007 14:55
Unable send receive emails vassilis3 Installation/Configuration 15 19th May 2007 14:34
DNS Default TTL and Reverse Zone WEX General 2 16th June 2006 00:46


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


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