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 29th March 2007, 21:07
DOCK DOCK is offline
Junior Member
 
Join Date: Mar 2007
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default ISPconfig & Zone Files - Bugs?

Hi,

today I found a few things on our ISPconfig driven server which made me worrying…

First… when I try to "dig @127.0.0.1 MX domain.tld" on our server, I get:

Code:
# dig @127.0.0.1 MX domain.tld

;; QUESTION SECTION:
;domain.tld.                     IN      MX

;; AUTHORITY SECTION:
domain.tld.              86400   IN      SOA     ns1.domain.com. ns2.domain.net. 2007032902 28800 7200 604800 86400

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)

The zone file looks like this:

Code:
$TTL        86400
@       IN      SOA     ns1.domain.com. admin.domain.net. (
                        2007032902       ; serial, todays date + todays serial #
                        28800              ; refresh, seconds
                        7200              ; retry, seconds
                        604800              ; expire, seconds
                        86400 )            ; minimum, seconds
;
                NS      ns1.domain.com.              ; Inet Address of name server 1
                NS      ns2.domain.com.              ; Inet Address of name server 2
;

www  MX      10 host.domain.com.
  MX      10 host.domain.com.
  MX      10 host.domain.com.

domain.tld.      A        11.11.11.11
sunrise       A       11.11.11.11
smw       A       11.11.11.11
www       A       11.11.11.11
blog       A       11.11.11.11
test       A       11.11.11.11
First what's going on with those MX recors? They're double…

Then… the syntax looks "strange".

Shouldn' it look like this:

Code:
localhost               IN      A       11.11.11.11
@                       IN      A       11.11.11.11
www                     IN      A       11.11.11.11
mail                    IN      A       11.11.11.11

loopback                IN      CNAME   localhost
smw                     IN      CNAME   www
sunrise                    IN      CNAME   www
blog                    IN      CNAME   www


@                       IN      MX 10   mail
The "IN" is missing…


And… when I manually add somthing like this to my zonefile:

Code:
@                       IN      MX 10   www

...the query for MX returns correct results…

Code:
;; QUESTION SECTION:
;domain.net.                     IN      MX

;; ANSWER SECTION:
domain.net.              86400   IN      MX      10 www.domain.net.


I just used the ISPconfig checkboxes in ISPmanager "create dns" and "create dns-mx"… I did nothing through the DNS Manager.
And… when I take a look at the records in the DNS Manager I can't see any MX records there… and if I try to add one I get an error message saying that there's already one…

Looks like a bug, hm?

Best wishes
Yves
Reply With Quote
Sponsored Links
  #2  
Old 30th March 2007, 10:57
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,421
Thanks: 812
Thanked 5,205 Times in 4,081 Posts
Default

The syntax of the ISPConfig bind file is ok.

Quote:
And… when I take a look at the records in the DNS Manager I can't see any MX records there…
I'am pretty sure that they are ther, please check again.

Quote:
Looks like a bug, hm?
I dont think so. Please check if the domain or mx record is in the recycle bin.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 30th March 2007, 11:58
DOCK DOCK is offline
Junior Member
 
Join Date: Mar 2007
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

the recycle bin is empty.
Please tell me why I can't dig the MX record with the ISPconfig syntax.
When I manually add a MX record in the recommended syntax (like it's shown in the bind manual…) I can ´dig´ it correctly.

Here are some screenshots…
Attached Images
     
Reply With Quote
  #4  
Old 30th March 2007, 11:59
DOCK DOCK is offline
Junior Member
 
Join Date: Mar 2007
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

One more… (Fill: The message you have entered is too short. Please lengthen your message to at least 10 characters.)
Attached Images
 
Reply With Quote
  #5  
Old 30th March 2007, 12:26
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,421
Thanks: 812
Thanked 5,205 Times in 4,081 Posts
Default

Please delete the duplicate MX record in the DNS-manager.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 30th March 2007, 14:35
DOCK DOCK is offline
Junior Member
 
Join Date: Mar 2007
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

OK. Now I get correct dig results.
But… why could this happen?

Last edited by DOCK; 30th March 2007 at 14:38.
Reply With Quote
  #7  
Old 31st March 2007, 12:58
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,421
Thanks: 812
Thanked 5,205 Times in 4,081 Posts
Default

Quote:
Originally Posted by DOCK
OK. Now I get correct dig results.
But… why could this happen?
I'am not sure. Normally ISPConfig is checking for duplicates. I will have a look at the code, maybe there are some situations where the check does not work properly. You are using the latest stable release?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #8  
Old 31st March 2007, 13:39
DOCK DOCK is offline
Junior Member
 
Join Date: Mar 2007
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Yes, I'm using the latest stable release.
I'll send you a private message with my contact details - I'd like to grant you access to the server if it helps for your code revision.
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
No zone files or named.conf entries are being created? wangster Installation/Configuration 10 6th April 2007 10:55
recoverying / rebuilding zone files robd General 5 11th October 2006 21:43
ISPConfig did not write DNS zone files asyadiqin Installation/Configuration 4 6th August 2006 13:41
ispconfig not writing out bind files chrno Installation/Configuration 1 8th May 2006 17:57
ispconfig + typo3 + and files not visible in ispconfig blackflag General 4 19th February 2006 14:06


All times are GMT +2. The time now is 02:58.


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