myDns don't resolv the Records Ispconfig 3

Discussion in 'Installation/Configuration' started by LordOmega, May 30, 2010.

  1. LordOmega

    LordOmega New Member

    Hi guys, it is 3 days that i try to make ispconfig 3 as a dns server for my 5 domains, but mydns doesn't resolv the records and the zone.

    How it make this thing?

    below i show you how my file is setted. I have followed the official tutorial for debian 5 and ispconfig 3.

    this is the Error.

    ns1:~# dig skylabhost.it @109.168.124.25

    ; <<>> DiG 9.5.1-P3 <<>> skylabhost.it @109.168.124.25
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 25379
    ;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
    ;; WARNING: recursion requested but not available

    ;; QUESTION SECTION:
    ;skylabhost.it. IN A

    ;; AUTHORITY SECTION:
    skylabhost.it. 86400 IN SOA ns1.skylabhost.it. info.skylabhost.it. 2010053007 28800 7200 604800 86400

    ;; Query time: 1 msec
    ;; SERVER: 109.168.124.25#53(109.168.124.25)
    ;; WHEN: Sun May 30 05:02:12 2010
    ;; MSG SIZE rcvd: 76


    the mydns .conf file:

    # DATABASE INFORMATION

    db-host = 109.168.124.20 # SQL server hostname
    db-user = ########### # SQL server username
    db-password = ###### # SQL server password
    database = dbispconfig # MyDNS database name


    # GENERAL OPTIONS

    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 = # Do not listen on these addresses


    # CACHE OPTIONS

    zone-cache-size = 2048 # Maximum number of elements stored in the zone cache
    zone-cache-expire = 60 # Number of seconds after which cached zones expires
    reply-cache-size = 2048 # Maximum number of elements stored in the reply cache
    reply-cache-expire = 30 # Number of seconds after which cached replies expire


    # ESOTERICA

    log = LOG_DAEMON # Facility to use for program output (LOG_*/stdout/stderr)
    pidfile = /var/run/mydns.pid # Path to PID file
    timeout = 120 # Number of seconds after which queries time out
    multicpu = 1 # Number of CPUs installed on your system
    recursive = # Location of recursive resolver
    allow-axfr = yes # Should AXFR be enabled?
    allow-tcp = yes # Should TCP be enabled?
    allow-update = no # Should DNS UPDATE be enabled?
    ignore-minimum = no # Ignore minimum TTL for zone?
    soa-table = dns_soa # Name of table containing SOA records
    rr-table = dns_rr # Name of table containing RR data
    ## soa-where = server_id = 1 # Extra WHERE clause for SOA queries
    ## rr-where = server_id = 1 # Extra WHERE clause for RR queries
    use-soa-active = yes # To fix bug 295 where active or inactive status is ignored.
    use-rr-active = yes# To fix bug 295 where active or inactive status is ignored.

    Into the DB there is the record A and etc.

    mydns is active:

    nobody 4358 0.0 0.1 6172 1432 ? Ss 05:02 0:00 /usr/local/sbin/mydns -b
    nobody 4359 0.0 0.1 6444 1664 ? S 05:02 0:00 /usr/local/sbin/mydns -b



    At this point, i don't know why the dns does not resolvs the record.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Post a screenshot of the info data that you entered in ispconfig for this zone.
     
  3. LordOmega

    LordOmega New Member

  4. till

    till Super Moderator Staff Member ISPConfig Developer

    On the records tab, you missed the dot at the end of all record entries. Example:

    Wrong:

    A skylabhost.it 123.123.123.123

    Correct:

    A skylabhost.it. 123.123.123.123

    Every Fully qualified domain name has to end with a dot in DNS (at least if you use mydns or BIND as DNS server).

    If you use the dns wizard in ispconfig to create the dns records, the dots get added automatically. If you add the records manually one by one, then you have to add the dots.
     
  5. LordOmega

    LordOmega New Member

    :) fine now it Works!!!!!!!!!!!!!!!!!!!!!! Thanks very much!!!
     

Share This Page