Configuring Debian networking with ISPCFG3

Discussion in 'Installation/Configuration' started by Ovidiu, May 6, 2014.

  1. Ovidiu

    Ovidiu Active Member

    In the ISPCFG3 dashboard => System => Server Config

    I added
    HTML:
    208.67.220.220,8.8.8.8,8.8.4.4
    in the Nameservers field but I'd like to know where ISPCFG3 saves that info?

    All the other info, IP, gateway, etc is working jsut fine and reflected inside /etc/network/interfaces

    =>
    Code:
    auto eth0
    iface eth0 inet static
            address 85.214.221.x
            netmask 255.255.255.255
            network 85.214.221.x
            broadcast 85.214.221.x
            gateway 85.214.192.x
    
    auto eth0:0
    iface eth0:0 inet static
            address 85.214.249.xx
            netmask 255.255.255.255
            network 85.214.249.xx
            broadcast 85.214.249.xx
            gateway 85.214.192.xx
    But when I check /etc/resolv.conf I see:

    Code:
    cat /etc/resolv.conf
    # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
    #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
    nameserver 208.67.220.220
    nameserver 81.169.163.106
    nameserver 85.214.7.22
    search stratoserver.net
    So where does the info I provided go?
    I'd really like to set my NS to 208.67.220.220,8.8.8.8,8.8.4.4
     
  2. Ovidiu

    Ovidiu Active Member

  3. srijan

    srijan New Member HowtoForge Supporter

    ISPConfig 3 is not changing anything in /etc/network/interfaces by default as the network management feature is disabled in a config file. You must have enabled this manually in the ispconfig config.inc.php file and there you can disable the network configuration again.

    You dont have to use the ispconfig network configuration feature to use ispconfig. Noramally IP addresses are configured with the config tools of the operating system directly, thats why the ispconfig network config is disabled by default and leaving it off is the recommended setting.

    So in your case, disable the network configuration option in ispconfig again and add the IP addresses with the ubuntu network configuration utility instead.
     
  4. Ovidiu

    Ovidiu Active Member

    Are you sure? I don't recall enabling anything, the description says:
    Looks like this: http://screencast.com/t/UdbaQJLXS

    And I'd like to use it since I run Debian, why not?

    Anyway, my interfaces are now nicely configured, just wondering where ISPCFG3 writes those nameserver values and where I am supposed to write them alternatively?

    I described above my tries but none worked and apparently one is not supposed to use /etc/resolv.conf anymore when resolvconf is installed...

    Any other advice?
     

Share This Page