Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 27th October 2011, 17:29
VidalCastillo VidalCastillo is offline
Junior Member
 
Join Date: Oct 2011
Posts: 7
Thanks: 4
Thanked 0 Times in 0 Posts
Exclamation Setting-up DNS CentOS 5.7 x86_64 [ISPConfig 3]

Hi there,
I have found your tutorial a real piece of treasure, I loved following it.
I have installed my server with not a single problem.
BUT, on page 5 I have found these words: "I will use ISPConfig to configure BIND". I have finished the tutorial but I could not find the details about how to configure the DNS for my website.
I have also purchased the manual, checked the section when describing how to set-up the dns (4.8.1.1 Add DNS Zone) but I do not find it explicit enough.

Sorry for the long story but I want to have it solved.

I am behind one router connected to my providers cable modem.
I have my static fixed IP: 89.103.xxx.xxx
I have build the server using 192.168.230.109 as IP, 192.168.230.101 as GW (IP or the router) and localhost as hostname

I have created a client, a website, a DB, a shell-user, and a ftp user, all fine, I can see my page from LAN from my laptop (192.168.230.102)
Now what I would like to create would be ns1 and ns2 that i have to provide to the maintainer of my domain (europeregistry.com)
In the manual, at page 154 I have found these words: "Fill in the IP address that example.com should point to" what is the IP that I will use? my 89.xx.xx.xx or my 192.xx.xx.xx ?
I think that a great improvement to the manual would be to insert some real life scenarios not only the example.com and the virtual IPs that were used.

Thank you in advance.
Reply With Quote
Sponsored Links
  #2  
Old 27th October 2011, 17:39
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,567
Thanks: 791
Thanked 4,979 Times in 3,900 Posts
Default

The "real life" scenario where ispconfig is made for is described on page 273 of the manual "5.12 How Do I Create A DNS Zone". This expects that the server is connected to the internet directly or in other words, it is for a server or virtual server in a datacenter which has a external IP.

Your scenario is a bit different as the normal usecase though, so I will try to explain you when to use which IP addresses in DNS servers:

If you use the internal or external IP address in DNS when you run a server behind a router depends on the usecase of your network. if the dns server shall only be used to resolve "internal" domain names like mydomain.internal to private IP addresses instead of a .com or .net domain, then you use the internal IP in DNS records. But if the dns server shall be the authoritive nameserver for a external domain that is officially registered, then you have to use the external IP address.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
VidalCastillo (27th October 2011)
  #3  
Old 27th October 2011, 17:56
VidalCastillo VidalCastillo is offline
Junior Member
 
Join Date: Oct 2011
Posts: 7
Thanks: 4
Thanked 0 Times in 0 Posts
Thumbs up

Huge thanks Till,

It is now a bit more clear to me, I will move the server and I will connect it directly to the modem, so I will have the 89.xx.xx.xx IP assigned to the server.
How can I set it up so I can have the same IP address for the website and for the ns1 and ns2, for the future I would like to host multiple domains .com and .eu.
Is there a link where this is described as for beginners?
As a second request would be if there is any tutorial how can I share internet on the second network card that I will install so I can pass the internet to the rest of my house.

wish you all the best.
Reply With Quote
  #4  
Old 27th October 2011, 18:17
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,567
Thanks: 791
Thanked 4,979 Times in 3,900 Posts
Default

The domain registries for .com and .eu require that every zone has two nameservers or at least ns1 and ns2 must have different IP addresses, even if they are located on the same server. So if you want to run a dns server for real domains, you need either two different IP addresses from your cable provider or you need a external server as secondary dns.

Quote:
As a second request would be if there is any tutorial how can I share internet on the second network card that I will install so I can pass the internet to the rest of my house.
ISPCOnfig is nut made to run on a router. Then its better to leave ispconfig in the internal network if your cable modem is a full router and only forward required ports from the cable modem to the ispconfig server. For that scenario, you have to use xetrnal IP addresses in the DNS records then and internal IP addresses in the website settings (sites module). The translation between external IP and internal IP (NAT) is done by your cable modem then.

Running your own webserver is not a trivial task. So if you just start to host some websites, it might be easier for you if you use the dns server of the provider where you bought the domain names and just run the web and mailserver part on your local server. When you are more familar with dns and josting, then you can later switch your domains to your own dns server.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.

Last edited by till; 27th October 2011 at 18:20.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
VidalCastillo (27th October 2011)
  #5  
Old 27th October 2011, 18:23
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,567
Thanks: 791
Thanked 4,979 Times in 3,900 Posts
Default

If you like to dig deeper in how the DNS system works, you might want to take a look at this tutorial:

http://www.howtoforge.com/traditional_dns_howto
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
VidalCastillo (27th October 2011)
Reply

Bookmarks

Tags
dns, dns ispconfig 3

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
ISPConfig 3.0.3.3 fresh instalation - email tab is empty artur_gib Installation/Configuration 14 28th January 2014 19:02
[ask] BIND Problems - setting up DNS server in centos 5.5 h4rm0n14 Server Operation 3 2nd July 2011 15:24
The Perfect Server - CentOS 5.5 x86_64 [ISPConfig 3] - Issues Aradan Server Operation 6 11th July 2010 02:38
Unable send receive emails vassilis3 Installation/Configuration 15 19th May 2007 14:34
Setting up a DNS server to slave from ISPConfig jerutley Installation/Configuration 4 6th November 2006 19:22


All times are GMT +2. The time now is 12:28.


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