BIND as a slave for MyDNS master

Discussion in 'General' started by MooktaKiNG, May 9, 2006.

  1. atakacs

    atakacs New Member

    Probably a dumb answer but where am I supposed to look ? Doesn't seem obvious browsing /var/log

    Regrds
     
  2. falko

    falko Super Moderator

    I think it's /var/log/syslog, but that depends on your distribution.
     
  3. atakacs

    atakacs New Member

    Well the only related entry I could locate was:

    Code:
    daemon.warn<28>: Jun 13 03:14:10 localhost mydns[2528]: /etc/mydns.conf: WARNING: config file is readable by unprivileged user
    
    Is there any directive I could add in the config file to get more verbose logging ?

    Regards

    alex
     
  4. falko

    falko Super Moderator

    Can you check if port 53 (TCP and UDP!) is open on the master?
     
  5. atakacs

    atakacs New Member

    The firewall does explicitly allow TCP and UDP to port 53. Not quite sure how to do an UDP vs TCP portscan (but port 53 is certainly open as lookups are working).
     
  6. falko

    falko Super Moderator

    What are the outputs of
    Code:
    netstat -tap
    and
    Code:
    netstat -uap
    ?
     
  7. atakacs

    atakacs New Member

    Hi again

    Code:
    [root@lochdns ~]# netstat -tap
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address               Foreign Address             Stat                                         e       PID/Program name
    tcp        0      0 *:mysql                     *:*                         LIST                                         EN      2470/mysqld
    tcp        0      0 *:907                       *:*                         LIST                                         EN      1997/rpc.statd
    tcp        0      0 *:sunrpc                    *:*                         LIST                                         EN      1968/portmap
    tcp        0      0 vera.mydomain.com:domain     *:*                         LIST                                         EN      2528/mydns
    tcp        0      0 localhost.localdomai:domain *:*                         LIST                                         EN      2528/mydns
    tcp        0      0 *:ssh                       *:*                         LIST                                         EN      2188/sshd
    tcp        0    148 vera.mydomain.com:ssh        ts.mydomain.com:bb           ESTA                                         BLISHED 8521/0
    tcp        0      0 *:8003                      *:*                         LIST                                         EN      2303/python2.4
    tcp        0      0 *:8004                      *:*                         LIST                                         EN      2303/python2.4
    tcp        0      0 *:http                      *:*                         LIST                                         EN      1885/httpd
    tcp        0      0 ::1:domain                  *:*                         LIST                                         EN      2528/mydns
    tcp        0      0 *:ssh                       *:*                         LIST                                         EN      2188/sshd
    tcp        0      0 *:https                     *:*                         LIST                                         EN      1885/httpd
    
    
    ----
    
    [root@lochdns ~]# netstat -uap
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
    udp        0      0 *:901                       *:*                                     1997/rpc.statd
    udp        0      0 *:904                       *:*                                     1997/rpc.statd
    udp        0      0 vera.mydomain.com:domain     *:*                                     2528/mydns
    udp        0      0 localhost.locald:domain     *:*                                     2528/mydns
    udp        0      0 *:bootpc                    *:*                                     1889/dhclient
    udp        0      0 *:sunrpc                    *:*                                     1968/portmap
    udp        0      0 vera.mydomain.com:ntp        *:*                                     2374/ntpd
    udp        0      0 localhost.localdomain:ntp   *:*                                     2374/ntpd
    udp        0      0 *:ntp                       *:*                                     2374/ntpd
    udp        0      0 ::1:domain                  *:*                                     2528/mydns
    udp        0      0 fe80::20c:29ff:fece:ntp     *:*                                     2374/ntpd
    udp        0      0 ::1:ntp                     *:*                                     2374/ntpd
    udp        0      0 *:ntp                       *:*                                     2374/ntpd
    Regards
     

Share This Page