#1  
Old 15th August 2005, 12:24
todvard todvard is offline
Member
 
Join Date: Aug 2005
Posts: 85
Thanks: 1
Thanked 6 Times in 5 Posts
Default DNS in virtual machines

Hi,

i have a Xen based virtual machine system. The system has one external IP address and a routed/NAT network for virtual machines. For security reasons i have installed ISPconfig on one of the virtual machines. I wanna keep clear main machine runnig virtual hosts from services except ssh for administering xen.
My problem is, if I am creating a domain in DNS it will contain the internal address of that machine where the ISPconfig is running (eg 192.168.1.1), so the zone isn't good for external querys. Is there any ideas how can I create good zones for both external and internal querys? I'm thinking about using internal/external views capability of bind9. How can i implement that in ISPconfig, which files should i change?

Thanks,
T.
Reply With Quote
Sponsored Links
  #2  
Old 15th August 2005, 12:44
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,381
Thanks: 833
Thanked 5,482 Times in 4,316 Posts
Default

Quote:
Originally Posted by todvard
Hi,

i have a Xen based virtual machine system. The system has one external IP address and a routed/NAT network for virtual machines. For security reasons i have installed ISPconfig on one of the virtual machines. I wanna keep clear main machine runnig virtual hosts from services except ssh for administering xen.
My problem is, if I am creating a domain in DNS it will contain the internal address of that machine where the ISPconfig is running (eg 192.168.1.1), so the zone isn't good for external querys. Is there any ideas how can I create good zones for both external and internal querys?
Hi,

you can create DNS-Records in the DNS-Manager manually, that point to your external IP-Address when you not check the "Create DNX" checkbox when creating a new web.

Quote:
Originally Posted by todvard
I'm thinking about using internal/external views capability of bind9. How can i implement that in ISPconfig, which files should i change?
I'am not familar with this feature of BIND9. If you want to extend the functions of ISPConfig:

1) Do you like to join the development team and get SVN access?
http://www.howtoforge.com/forums/showthread.php?t=135

2) Download the latest SVN Version, install it. In the Management section you will find the form designer. The form designer is nescessary to add fields to the DNS-Manager forms. Be careful, the formdesigner is still a bit unstable, so make a backup of your ispconfig database and if something does not work as expected, simply restore you database backup.

3) The scripts that are writing the config files are in the directory "scripts/lib/classes" in the installer tar.gz and after installation these scripts are in "/root/ispconfig/scripts/lib/classes". The script you need to extend is: ispconfig_bind.lib.php

Regards,

Till
Reply With Quote
  #3  
Old 15th August 2005, 19:43
todvard todvard is offline
Member
 
Join Date: Aug 2005
Posts: 85
Thanks: 1
Thanked 6 Times in 5 Posts
 
Default

Quote:
Originally Posted by till
...
you can create DNS-Records in the DNS-Manager manually, that point to your external IP-Address when you not check the "Create DNX" checkbox when creating a new web.
Thank you for your fast answer. I know that i can create DNS-records manually in dns manager, but if Im using just external address in dns records that could lead to errors (think about for example MX records).

Quote:
Originally Posted by till
...If you want to extend the functions of ISPConfig:

1) Do you like to join the development team and get SVN access?
http://www.howtoforge.com/forums/showthread.php?t=135

...
I will think about implementing this feature in ISPconfig after my holidays

Best,
T.
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
Ssl boardmain Installation/Configuration 17 11th June 2006 21:33
Virtual Hosting with Postfix alexej HOWTO-Related Questions 26 27th May 2006 05:46
Virtual Host for Shared IP Tribal-Dolphin Feature Requests 3 24th October 2005 20:55


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


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