PDA

View Full Version : ISPConfig 3 DNS / Server settings


tachou12
22nd September 2008, 20:38
First off, I would like to thanks you guys for your effort not only to create the application but to help out in configuration and troubleshooting.
I have been using ISPconfig for over a Year and I like it and it works very well for me. Now I got myself a dual wan pfsense firewall with 2 static PIP and I am trying to user the new beautiful ISPconfig version 3
Assuming that my public Ips are WAN:1.1.1.1 and WAN2: 2.2.2.2
Here is the settings that I am working with
1.1.1.1 is fowarded to 192.168.200.1 and the the name server is ns1
2.2.2.2 is forwarde to 192.168.200.2 and the nameserver is ns2
in ispconfig 3, I am completely lost with where I shoul add my public Ips and my name servers. Can someone please give me somepointers. I already spent over 12 straigt hours trying to get it on my own but now I am getting nuts.

Thanks in advance
:confused::confused:

adobe
22nd September 2008, 22:22
Maybe this post might give you some idea : http://www.howtoforge.com/forums/showthread.php?t=26958

tachou12
22nd September 2008, 23:14
For exemple:
i replace this setting with my internal IP address is this correct? for the name servers are they my name servers or the ISP's?

[server]
auto_network_configuration=n
ip_address=192.168.0.105
netmask=255.255.255.0
gateway=192.168.0.1
hostname=server1.example.com
nameservers=193.174.32.18,145.253.2.75


What about the location for the dns configuration directory, I cannot find the zone for none of the created domain.

Thanks

till
22nd September 2008, 23:49
The nameserver settings under server have nothing to do with the nameserver that you run for your own domains, this are just the nameservers that are used to resolve external domains (/etc/resolv.conf). Just do not change anything there.

All setting related to your own domain names are in the dns manager module.

tachou12
23rd September 2008, 00:01
Thanks for the reply but the settings in my servers don't match up with ispconfig 3.

under Servers - Config, I have those generic settings, may be they are installed by default:

[global]
webserver=apache
mailserver=postfix
dnsserver=mydns

[server]
auto_network_configuration=
ip_address=192.168.0.105
netmask=255.255.255.0
gateway=192.168.0.1
hostname=server1.example.com
nameservers=193.174.32.18,145.253.2.75


Here is my resolv.conf
search something.local
nameserver 64.59.135.133
nameserver 64.59.135.135

Does it make since to you?

Also is there a script to restart ispconfig3?

Thanks again

till
23rd September 2008, 00:18
Does it make since to you?

Absolutely, as I told you above, this has nothing to do with your problem and the settings dont have to match with your system as ISPConfig does not write them in the current versions.

If you want to solve your problem, just create a dns record in the dns manager, there is no relevant setting in the system settings module for this so dont search there for settings.

Also is there a script to restart ispconfig3?

No, as there is no daemon that could be restarted.

You seem to mix up the way ISPConfig 2 and 3 work.

1) There are no global nameservers ettings in ISPConfig 3 similar to the settings in ispconfig 2.
2) There is no own webserver and daemon process in ISPConfig 3, the server configuration is done by a cronjob.

tachou12
23rd September 2008, 00:37
You are 100% correct, I was trying to compare the settings with ISPConfig 2.

I think now I have a better understanding of ISPConfig 3.

Thanks again

till
23rd September 2008, 00:54
Hi, I made two screenshots that show the setup of a complete domain in ISPConfig 3 as example (see attached files).

tachou12
23rd September 2008, 01:29
Thanks a million .......I think I am not patient enough or trying to complicate simple thing.

I will work on it tonight and I will post my findings.

tachou12
23rd September 2008, 21:00
Thanks a lot guys. Everything works fine for me now.

lihsus
1st January 2009, 19:58
Hello,

I have installed ISPconfig 3 on CentoOS 5.2. Created the DNS zone and records as explained by Till. DNS queries work for the local host lookups. However, dig returns the following for an external server :

[root@ns1 www]# dig google.com

; <<>> DiG 9.3.4-P1 <<>> google.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: REFUSED, id: 16419
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;google.com. IN A

;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Jan 1 12:42:56 2009
;; MSG SIZE rcvd: 28


In the MyDNS configuration what is the equivalent of "forwarders" option in the bind 9? Also, how to I do a split DNS configuration similar "split views" in Bind 9.

Thanks in advance.

till
2nd January 2009, 07:37
Please make sure that you have valid dns servers in /etc/resolv.conf
Mydns can not resolve domains names, but you can set a external resolving server in mydns.conf. But this should not be nescessary as long as you gave valid other servers in /etc/resolv.conf.
I dont think that mydns supports split views.

lihsus
2nd January 2009, 16:59
Thanks Till. I have disabled myDNS and using Bind 9 for DNS since I am running everything on one server. For now, I have manually created the zone files and named.conf. Does ISPconfig 3 has support for BIND 9 similar to ISPconfig 2 ?

till
2nd January 2009, 20:47
No, bind is not supported by ISPConfig 3.

odonel
3rd January 2009, 15:36
till,

Thanx for the shots....

Do I have to do this for each domain that I am serving or are these done once ?

I basically would like to have user1.mydomain.com, user2.mydomain.com, domainxyz.com, www.domainxyz.com

sort of like zoneedit does it.... I thought ispconfig would be able to do that, I have been trying for over a week now... no solultion.... any help ?

I did my settings at godday ns1.mydomain.com ==>> xx.xxx.23.4, ns2.mydomain.com ==>>xx.xxx.23.5

Please help

umano
19th March 2009, 13:19
Does it make any sense to set ns2 with a different ip like 123.123.123.124?

By the way i don't know why my domain registrar ask me everytime for ns1 and ns2 with different IPS.

The question is, have I to add the Ips in /etc/network/interfaces like

auto eth0:1
iface eth0:1 inet static

address 192.168.1.44
netmask 255.255.255.0
broadcast 192.168.1.255

and so on for the others ips?

I know it's a noob question but the how2forge tutorials make me so confident to forget cpanel :) It's incredible that a person with not-specific knowledge can set up a fully functional, and well set, web server in less than an hour.

Thanks in advance

falko
20th March 2009, 14:11
Does it make any sense to set ns2 with a different ip like 123.123.123.124?

By the way i don't know why my domain registrar ask me everytime for ns1 and ns2 with different IPS.

That depends on your registrar. For some registrars, two different IPs are enough, but others also require that the IPs come from different subnets.

gobokster
17th April 2009, 15:02
Hi, I made two screenshots that show the setup of a complete domain in ISPConfig 3 as example (see attached files).

thanks for this screenshots .. i'm now able to configure it the right way .. with free subdomain :D co.cc