HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   DNS in virtual machines (http://www.howtoforge.com/forums/showthread.php?t=266)

todvard 15th August 2005 12:24

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.

till 15th August 2005 12:44

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

todvard 15th August 2005 19:43

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.


All times are GMT +2. The time now is 04:35.

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