Living without DNS

Discussion in 'Installation/Configuration' started by MvincM, Nov 8, 2006.

  1. MvincM

    MvincM New Member


    Maybe anybody knows how to turn off the DNS for ISPConfig? I don not use DNS in ISP so I don't need them. As we known it is better to run off services which are not used (specially BIND).

    On Debian I try to normally stop bind9 but ISP start him on his start/stop/restart process. So I don't want to use: "update-rc.d -f bind9 remove" because I can broke ISP (I think).

    So I chose to secure DNS only to listen on localhost by editing confs file:


    listen-on port 53 {; };
    listen-on-v6 { none; };
    allow-query {; };
    query-source address port 53;

    controls {
    inet allow { localhost; } keys { rndc_key; };

    but after that my "netstat -lp" looks like:

    tcp 0 0 localhost:953 *:* LISTEN 2930/named
    udp 0 0 *:domain *:* 2930/named
    udp 0 0 localhost:domain *:* 2930/named
    udp6 0 0 *:46768 *:* 2930/named

    so "*" mean that is open on all interfaces.

    I don't have any idea for next search. Could you be so kind and help me or share your experience.


    Best regards,
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    In the ISPConfig interface, go to management > server > services and set DNS Server to off.
  3. MvincM

    MvincM New Member

    Yes - thanks - it works.

    But... there is still link in /etc/rc2.d to /etc/bind9 with letter "S" so after reboot server run once again (or maybe after starting bind isp turn him off).

  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The symlinks are not controlled by ISPConfig. You will have to remove the symlink manually.
  5. MvincM

    MvincM New Member

    Once again thanks !

Share This Page