myDNS server is offline in ispconfig 3

Discussion in 'Installation/Configuration' started by rlischer, Jul 31, 2009.

  1. rlischer

    rlischer Member

    myDNS server is showing offline. When I start the service it says OK, when I stop the service it says failed.

    I am new to ispconfig and centOS 5.3 and Linux for that matter. I have no idea how to set up DNS. I do have a somewhat static IP, it's from Roadrunner and has not changed in months. I am wondering if there are some ports I need to open on my Linksys for DNS to work also.

    Thanks

    Code:
    [root@server ~]# netstat -tap
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
    tcp        0      0 localhost.localdomain:2208  *:*                         LISTEN      2368/hpiod
    tcp        0      0 *:esro-emsdp                *:*                         LISTEN      2156/rpc.statd
    tcp        0      0 localhost.localdomain:10024 *:*                         LISTEN      18405/amavisd (mast
    tcp        0      0 localhost.localdomain:10025 *:*                         LISTEN      18341/master
    tcp        0      0 *:5801                      *:*                         LISTEN      20705/Xvnc
    tcp        0      0 *:mysql                     *:*                         LISTEN      18269/mysqld
    tcp        0      0 *:5802                      *:*                         LISTEN      20981/Xvnc
    tcp        0      0 *:netbios-ssn               *:*                         LISTEN      3909/smbd
    tcp        0      0 *:5900                      *:*                         LISTEN      4481/vino-server
    tcp        0      0 *:5901                      *:*                         LISTEN      20705/Xvnc
    tcp        0      0 localhost.local:dyna-access *:*                         LISTEN      18434/clamd
    tcp        0      0 *:5902                      *:*                         LISTEN      20981/Xvnc
    tcp        0      0 *:5903                      *:*                         LISTEN      21359/vino-server
    tcp        0      0 *:sunrpc                    *:*                         LISTEN      2123/portmap
    tcp        0      0 *:6001                      *:*                         LISTEN      20705/Xvnc
    tcp        0      0 *:6002                      *:*                         LISTEN      20981/Xvnc
    tcp        0      0 *:ftp                       *:*                         LISTEN      18532/pure-ftpd (SE
    tcp        0      0 192.168.122.1:domain        *:*                         LISTEN      2626/dnsmasq
    tcp        0      0 localhost.localdomain:ipp   *:*                         LISTEN      2399/cupsd
    tcp        0      0 *:smtp                      *:*                         LISTEN      18341/master
    tcp        0      0 *:microsoft-ds              *:*                         LISTEN      3909/smbd
    tcp        0      0 localhost.localdomain:2207  *:*                         LISTEN      2373/python
    tcp        0      0 localhost.localdomain:mysql localhost.localdomain:39937 ESTABLISHED 18269/mysqld
    tcp        0      0 localhost.localdomain:58819 localhost.localdomain:mysql ESTABLISHED 18433/amavisd (ch13
    tcp        0      0 server.hondacruisers.c:5902 192.168.1.101:51524         ESTABLISHED 20981/Xvnc
    tcp        0      0 localhost.localdomain:39937 localhost.localdomain:mysql ESTABLISHED 18432/amavisd (ch14
    tcp        0      0 localhost.localdomain:mysql localhost.localdomain:58819 ESTABLISHED 18269/mysqld
    tcp        0      0 *:imaps                     *:*                         LISTEN      18488/couriertcpd
    tcp        0      0 *:pop3s                     *:*                         LISTEN      18500/couriertcpd
    tcp        0      0 *:pop3                      *:*                         LISTEN      18494/couriertcpd
    tcp        0      0 *:imap                      *:*                         LISTEN      18481/couriertcpd
    tcp        0      0 *:webcache                  *:*                         LISTEN      14352/httpd
    tcp        0      0 *:http                      *:*                         LISTEN      14352/httpd
    tcp        0      0 *:6001                      *:*                         LISTEN      20705/Xvnc
    tcp        0      0 *:6002                      *:*                         LISTEN      20981/Xvnc
    tcp        0      0 *:ftp                       *:*                         LISTEN      18532/pure-ftpd (SE
    tcp        0      0 *:ssh                       *:*                         LISTEN      2388/sshd
    tcp        0      0 *:https                     *:*                         LISTEN      14352/httpd
    tcp        0      0 server.hondacruisers.co:ssh ::ffff:192.168.1.101:50758  ESTABLISHED 15578/8
    tcp        0      0 server.hondacruise:webcache FUSE-DEDICATED-66-42-1:6597 FIN_WAIT2   14505/httpd
    tcp        0    296 server.hondacruisers.co:ssh FUSE-DEDICATED-66-42-1:6605 ESTABLISHED 19996/9
    tcp        0      0 server.hondacruisers.co:ssh ::ffff:220.231.18.93:37812  ESTABLISHED 20040/sshd: unknown
    mydns.conf

    Code:
    ## AUTOMATICALLY GENERATED BY DEBCONF. DO NOT MODIFY DATABASE
    ## INFORMATION (database, db-*)...
    ## PLEASE RUN 'dpkg-reconfigure mydns-mysql' INSTEAD.
    ## CHANGES TO THE FOLLOWING DIRECTIVES ARE NOT PRESERVED, BUT REPLACED,
    ## ON UPGRADE:
    ##  user, group, pidfile, db-*, database
    
    ##
    ##  /etc/mydns.conf
    ##  Thu Aug  2 16:36:26 2007
    ##  For more information, see mydns.conf(5).
    ##
    
    
                                    # DATABASE INFORMATION
    
    db-host = localhost             # SQL server hostname
    db-user = ispconfig             # SQL server username
    db-password = 22ee770cb9351f3796205bbc85242d90         # 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?
    "/etc/mydns.conf" [noeol] 55L, 2380C
    
    
     
    Last edited: Jul 31, 2009
  2. falko

    falko Super Moderator Howtoforge Staff

    Code:
    tcp        0      0 192.168.122.1:domain        *:*                         LISTEN      2626/dnsmasq
    You have dnsmasq running. Please stop it and start MyDNS.
     
  3. rlischer

    rlischer Member

    Thanks! No more critical warnings.
     

Share This Page