Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Feature Requests

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 23rd February 2012, 00:47
calocen calocen is offline
Junior Member
 
Join Date: May 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to calocen
Default DNS import zone file and server_name

When you import a DNS zone file, NS record are defined by 'server_name' field in 'server' table.

But 'server_name' sometimes is a private hostname or a descriptive value. Not a FQDN reachable from internet.

It results in a failure for this domain.

(the line in dns_import.php)
Quote:
$sql = "SELECT server_name FROM `server` WHERE server_id=".intval($server_id)." OR mirror_server_id=".intval($server_id)." ORDER BY server_name ASC";
Then, I'm not sure if its a bug or a feature.

Thx in advance.
Reply With Quote
Sponsored Links
  #2  
Old 24th February 2012, 04:06
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Can you post the zone file you tried to import so that we can try to reproduce this?
__________________
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
  #3  
Old 26th February 2012, 19:47
calocen calocen is offline
Junior Member
 
Join Date: May 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to calocen
Default

This is the zone file i'm trying to import.
(test.tld is the fake name for the zone to import, and myisp.tld is the fake domain of our servers)
File are named test.tld

Quote:
$TTL 900
@ IN SOA ns1.myisp.tld. sys.myisp.tld. (
2012022201 ; serial, todays date + todays serial #
14400 ; refresh, seconds
7200 ; retry, seconds
604800 ; expire, seconds
900 ) ; minimum, seconds
;

in 900 NS ns1.myisp.tld.
test.tld. 0 NS ns1.myisp.tld.
test.tld. 0 NS ns2.myisp.tld.

* 900 A 192.168.1.1
mail 900 A 192.168.1.1
www 900 A 192.168.1.1
test.tld. 900 A 192.168.1.1
test.tld. 900 MX 10 mail.test.tld.
And this is the file I get
Quote:
$TTL 900
@ IN SOA ve101124.ip.myisp.tld. sys.myisp.tld. (
2012022202 ; serial, todays date + todays serial #
14400 ; refresh, seconds
7200 ; retry, seconds
604800 ; expire, seconds
900 ) ; minimum, seconds
;

* 900 A 192.168.1.1
in 900 NS ns1.myisp.tld.
mail 900 A 192.168.1.1
test.tld. 900 A 192.168.1.1
test.tld. 900 MX 10 mail.test.tld.
test.tld. 0 NS ve101124.ip.myisp.tld.
test.tld. 0 NS ve109002.ip.myisp.tld.
www 900 A 192.168.1.1
These are the my server_names as they are defined in my cluster.
I wish to change it for more descriptive names like 'panel 1','panel 2', ...

Quote:
ve101124.ip.myisp.tld.
ve109002.ip.myisp.tld.
This is external names as they are defined globally for DNS
Quote:
ns1.myisp.tld
ns2.myisp.tld
Thx, Carlos
Reply With Quote
  #4  
Old 27th February 2012, 18:36
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
 
Default

I've added this to our bugtracker, so we will check that.
__________________
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

Tags
dns

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


All times are GMT +2. The time now is 01:59.


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