MYDNS critical problems.

Discussion in 'Installation/Configuration' started by moglia, Aug 21, 2009.

  1. moglia

    moglia New Member

    :confused: Some of my clients ask for me about dns
    sites going offline im woking using cname.

    See My dns template: (using it to create domains)
    ------------------------------------------------
    [ZONE]
    origin={DOMAIN}.
    ns=ns1.ispconfiginslated.com.
    mbox=hostmaster.ispconfiginslated.com.
    refresh=28800
    retry=7200
    expire=604800
    minimum=86400
    ttl=86400

    [DNS_RECORDS]
    CNAME|{DOMAIN}.|ispconfiginslated.com.|0|86400
    CNAME|www|delta.ispconfiginslated.com.|0|86400
    CNAME|mail|mail.ispconfiginslated.com.|0|86400
    CNAME|mail2|mail2.ispconfiginslated.com.|0|86400
    CNAME|smtp|smtp.ispconfiginslated.com.|0|86400
    CNAME|pop|pop.ispconfiginslated.com.|0|86400
    CNAME|imap|imap.ispconfiginslated.com.|0|86400
    CNAME|webmail|webmail.ispconfiginslated.com.|0|86400
    CNAME|*.|*.ispconfiginslated.com.|0|86400
    NS|{DOMAIN}.|ns1.ispconfiginslated.com.|0|86400
    NS|{DOMAIN}.|ns2.ispconfiginslated.com.|0|86400
    MX|{DOMAIN}.|mail.ispconfiginslated.com.|10|86400
    MX|{DOMAIN}.|mail2.ispconfiginslated.com.|20|86400
    TXT||v=spf1 mx ptr -all|0|86400
    ------------------------------------------------

    MX queries with host comand show-me a strange response:

    delta:/# host -t MX domain.com.br
    domain.com.br is an alias for ispconfiginslated.com.
    ispconfiginslated.com is an alias for delta.ispconfiginslated.com.

    Normally expected response is:

    delta:/# host -t MX domain.com.br
    ispconfiginslated.com mail is handled by 10 delta.ispconfiginslated.com.

    don´t showing "handled by"


    I don´t no if some isp dns servers arround the globe can see or not make correct queries and cache of my ispconfig instalation using mydns. (opendns allways response)

    Im using standard instalation not changed anyting (only loging for testing).

    I donpt have idea if DNS stops or not. i maked a fine tune of mysql and keep monitoting queries is under 80% or limit conection with database is not the problem.

    I dont know mydns and for me at this moment i can trust on this server.
    I used powerdns over years and appers more reliable.

    My intentions is keep using mydns to help on ispconfig 3 tests, but my clients it´s nervous because some times some of isp lost dns information and time researched queries and domain appers off-line for clients for couple of locations.

    I will be swiched to bind some critical domains to another machine to burn off the fire. clients can be wait.

    Till how change mydns to powerdns, i make link on plugins enabled how need to replace mydns for powerdns?

    svn_updates can be affect powerdns plugin if enabled?

    Please anyone can help me to find a definitive solution for this case (like change a cname for ip´s or other sugestions)?


    Im losting some nights for find a solution for this case, i need trust on ispconfig and my desire is not swith to proprietary software to resolve this issues. problems keep for 2 weeks i don´t have more any idea to do.

    Antecipated regards 4 any help.
     
  2. all

    all New Member

    also add me

    add me also,

    i have exactly same problem, website repeatedly saying not found for many clients.

    though works fine on open dns :(

    whats wrong, now and then its going on and off
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Not able to reproduce this and we are running our dns servers for years on mydns. Mkae sure that you run the latest mydns-ng version.

    If you have any special mydns-ng load problems, you should ask the mydns developers:

    http://sourceforge.net/projects/mydns-ng/

    And why did you not contact the pople that have written the software that you have problems with? MyDNS is not written by us, same for the apache webserver, the php programming language etc. If you have a very specific problem with a software, you should contact the developers of this software:

    http://sourceforge.net/projects/mydns-ng/

    This is not a ispconfig specific problem as ispconfig is just adding the records to the mysql database.
     
    Last edited: Aug 21, 2009
  4. moglia

    moglia New Member

    Yes i have the latest version (i updated to latest on debian tutorial on svn):

    delta:~# mydns --version
    mydns (mydns) 1.2.8.27 (MySQL 5.0.51a)

    Copyright (C) 2002-2005 Don Moore 2007-2008 Howard Wilkinson
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

    No have many domains configurated (66 domains) and one reverse high TTL 8600

    mysql> select count(*) from dns_soa;
    +----------+
    | count(*) |
    +----------+
    | 67 |
    +----------+
    1 row in set (0.00 sec)



    I presume use mydns and ispconfig 3 standards configurations is ready to use.
    Yes, i agree but mydns is part of ispconfig and more then one people have the same problem, and it´s reported why not give another dns options? (powerdns, bind) my vote is swich to powerdns.



    Powerdns all ready packaged on debian:
    pdns-server - extremely powerful and versatile nameserver
    pdns-backend-mysql - generic MySQL backend for PowerDNS

    I try make wildcards for example don´t work.

    I tried enable powerdns on ispconfig, how do it?

    You can share your experience with us, how you configure your dns records is a A or CNAME whats your TTL and another parameters you use. your database configuration.

    Make ispconfig better sharing experiences more people use it and increment comunity arround. because some people stay at ispconfig2 and not swich to ispconfig3.
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    I use it and many others use it successfully without problems. And the other poster in this thread has a different problem, he does not know how to create an dns a record (see his other threads).

    Feel free to write plugins for ISPConfig for any software you like. If they work we will add them to the core system. mydns works great for us and on a few thousand other installations. So if it does not work on yours, we can try to find out were the problem in your setup is. The ispconfig default setups works for many many poeple, so you can assume its correct and working.

    Take a look in the plugin code. All information that is available at the moment is in this file. The plugin has not been tested on a production system.

    I use mostly A-Records. Create a record with the dns wizard and the default template and you have exactly the ones that i use.

    And what do you think that I'am doing here in more then 18 000 posts a few hours per day ...
     
    Last edited: Aug 21, 2009
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Regarding the detailed mydns.conf settings that I use:

    See install/tpl/mydns.conf.master in the ispconfig installer tar.gz file.
     
  7. moglia

    moglia New Member

    I see

    it´s the same of my instalation standard configuration.

    user = nobody # Run with the permissions of this user
    group = nogroup # Run with the permissions of this group
    listen = * # Listen on these addresses ('*' for all)
    no-listen = IP1,IP2 # Do not listen on these addresses

    timeout = 240 # Number of seconds after which queries time out

    My only changes, before confirm problem.

    you can share your TTL, MIN, EXP and other time settings?
     
    Last edited: Aug 21, 2009
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    All defaults like they are set by ispconfig.
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    You should test your dns records with dig. Test all dns severs independantly like:

    dig ns1.myserver.com domain.tld
    dig ns2.myserver.com domain.tld

    The problem you describe can e.g. happen if not all dns servers are in sync. So that a client gets a correct record from one server but on the next query he gats a record from another dns server which is either incorrect or does not know the domain. To the end user it looks like dns resolutution is sometimes not working while it is working correctly on one server and failing completely on another server.

    Also make sure that all dns servers for the domains are listed correctly at the registry and also show up correctly in the whois record.
     
  10. moglia

    moglia New Member

    at this moment i have one dns server

    2 ip address is on same ispconfig machine.

    Queries return strange results:

    delta:/etc# host -t NS domain.com
    domain.com is an alias for delta.domain.com.

    devsrv:~# host -t MX domain.com
    domain.com is an alias for delta.domain.com.


    not like:

    devsrv:~# host -t NS domain.com.br
    visar.com.br name server ns2.domain.com.br.
    visar.com.br name server ns1.domain.com.br.

    delta:/etc# host -t MX domain.com.br
    domain.com.br mail is handled by 10 julieta.domain.com.br.
     
  11. till

    till Super Moderator Staff Member ISPConfig Developer

    Please create a dummy domain like "test.int" by using the default dns wizard template instead of yours and test it with the command:

    dig @localhost NS test.int

    Mydns returns the correct results for this on my server:

    dig @localhost NS test.int

    ; <<>> DiG 9.5.1-P3 <<>> @localhost NS test.int
    ; (2 servers found)
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30363
    ;; flags: qr aa rd; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
    ;; WARNING: recursion requested but not available

    ;; QUESTION SECTION:
    ;test.int. IN NS

    ;; ANSWER SECTION:
    test.int. 86400 IN NS ns1.test.int.
    test.int. 86400 IN NS ns2.test.int.

    ;; Query time: 21 msec
    ;; SERVER: 127.0.0.1#53(127.0.0.1)
    ;; WHEN: Wed Aug 19 19:16:57 2009
    ;; MSG SIZE rcvd: 62

    Maybe its a problem with your wildcard cname record.
     

Share This Page