ISPConfig 3 DNS / Server settings

Discussion in 'Installation/Configuration' started by tachou12, Sep 22, 2008.

  1. tachou12

    tachou12 New Member

    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:
     
  2. adobe

    adobe New Member

    Last edited: Feb 9, 2011
  3. tachou12

    tachou12 New Member

    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
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
     
  5. tachou12

    tachou12 New Member

    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
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    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.

    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.
     
    Last edited: Sep 22, 2008
  7. tachou12

    tachou12 New Member

    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
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Hi, I made two screenshots that show the setup of a complete domain in ISPConfig 3 as example (see attached files).
     

    Attached Files:

  9. tachou12

    tachou12 New Member

    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.
     
  10. tachou12

    tachou12 New Member

    Thanks a lot guys. Everything works fine for me now.
     
  11. lihsus

    lihsus New Member

    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.
     
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
     
  13. lihsus

    lihsus New Member

    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 ?
     
  14. till

    till Super Moderator Staff Member ISPConfig Developer

    No, bind is not supported by ISPConfig 3.
     
  15. odonel

    odonel New Member

    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
     
  16. umano

    umano New Member

    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
     
  17. falko

    falko Super Moderator Howtoforge Staff

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

    gobokster New Member

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

    u4david New Member

    Dns Ispconfig3 assistance

    I would appreciate if anyone would take the time and tell me how do i need to set up my dns on ispconfig3.

    I have several domains from one provider.They all point to one static public IP.

    My configuration is static.public.ip.201>router>server
    Router have ports open that are used by ISPconfig3 firewall(several tcp/udp ports) all assigned to server with local.static.IP.11:
    local.static.IP.11 server1.mydomain1.net server1

    mydomain1.net as the root domain (.net) points out will be used only for server back end as a tech/tools side domain if you will.
    Server have ispconfig3 installed.

    All sites loading they home pages(tested on each site and yes they load they specific pages per domain as virtual hosts on one IP)

    postfix mail configuration have name same as the server name
    server1.mydomain1.net (but with dpkg-reconfigure i can change it to mail.mydomain1.net if desired and and if that is a option i think it would simplify further configuration)
    Just not sure if the mail server name could have different name from his host as is all one server .

    mydomain1.net as the root domain (.net) points out will be used only for server back end.
    mydomain1.com is mysite
    mydomain2.com is site for someone other hoping to have more later on.

    I think there was a place in ISPconfig3 installation and procedures to name name server like ns1 and ns2? If so i forgot what i put there and may need way to pull the config out to find out but not sure how.
    And again can the NS configuration if any carry different name from his host name?


    before i go any furher i have to have this cleared out as the rest will involve based on names used in above configurations.


    Thank you
     
  20. till

    till Super Moderator Staff Member ISPConfig Developer

    They can be different, but normally you use the same name as the server hostname.

    There is no such setting because it is not needed for ispconfoig 3. You use the dns server of your provider or registry, so you dont have to set tghis in ispconfig.
     

Share This Page