Lenny+ispconfig3+mydns=dns not working?

Discussion in 'HOWTO-Related Questions' started by enzo24, Aug 28, 2010.

  1. enzo24

    enzo24 New Member

    Hi all !

    I followed the perfect lenny server tutorial on a clean server for test purposes.

    Everything works fine, except DNS.

    I've set up DNS correctly in the ISPConfig interface.

    After 24 hours, I did a DNS transversal check with dnsstuff.com & found out that records are straight on there side, everything pointing as it should, but my server doesn't respond...

    Ouch !

    I ssh'd to my server , did an /etc/init.d/mydns restart. Nothing special, no alerts.. just restart.

    ISPCOnfig says MyDNS is running

    Nestat -tap however doesn't see mydns running...:confused:


    I also checked out my firewall rules, the correct ports are open.

    BTW, I did an apt-get remove bind9, hoping to keep the server from getting confused on who's doing the DNS stuff onbord.

    However, in ISPCOnfig3 panel I see this :

    HUH ??? Bind ???

    Now I'm lost...

    Any help would be greatly appreciated.
  2. enzo24

    enzo24 New Member

    Ok, got an answer for this one.

    Debian Lenny is delivered with bind pre-installed & running

    The apt-get remove bind9 that I did was not correct (does't remove bind & less stop the running service)

    To correctly remove bind do this

    apt-get purge bind9
    update-rc.d bind9 remove

    apt-get remove bind9 IS NOT SUFFICIENT /INCORRECT

    Use code above.

    A reboot -n will restart server & get things straight.

    There's probably a more graceful way to restart all services, but the reboot did the trick for me.
    Last edited: Aug 28, 2010

Share This Page