no one can access my site but me

LawlessBaron

Verified User
Joined
Nov 20, 2011
Messages
65
ok so my site http://cybercentralforums.com i sent people the url they say it wont work i thought well thats impossible to make sure it wasnt down i stopped the apache pressed F5 nothing start apache again F5 BAng its working for me why not others?
 
Check with this report. And you'll see what is wrong:

ERROR: One or more of your nameservers did not respond:
The ones that did not respond are:
69.42.208.107 91.121.2.103

You should already know that your NS records at your nameservers are missing, so here it is again:

ns1.santrex.net.
ns5.santrex.net.
 
Still no information about what firewall you're using, if any is used. By default it might be iptables.

Show

Code:
iptables-save

and

Code:
cat /etc/named.conf | grep -v ^zone

and

Code:
netstat -an | grep LISTEN | egrep ^"tcp|udp"

and

Code:
ps aux | grep -v grep | egrep -i "named|bind"

Remember to use tags [ CODE ][ /CODE ] to post results of the commands (without spaces within brackets).

Note these commands are not going to fix anything on your server, they are for diagnose purposes.
 
Code:
Generated by iptables-save v1.4.8 on Thu Dec  1 11:56:39 2011
*raw
:PREROUTING ACCEPT [168420:331763731]
:OUTPUT ACCEPT [171998:40012555]
COMMIT
# Completed on Thu Dec  1 11:56:39 2011
# Generated by iptables-save v1.4.8 on Thu Dec  1 11:56:39 2011
*nat
:PREROUTING ACCEPT [11581:848307]
:INPUT ACCEPT [11581:848307]
:OUTPUT ACCEPT [16946:3279078]
:POSTROUTING ACCEPT [16946:3279078]
COMMIT
# Completed on Thu Dec  1 11:56:39 2011
# Generated by iptables-save v1.4.8 on Thu Dec  1 11:56:39 2011
*mangle
:PREROUTING ACCEPT [168420:331763731]
:INPUT ACCEPT [168420:331763731]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [171998:40012555]
:POSTROUTING ACCEPT [171998:40012555]
COMMIT
# Completed on Thu Dec  1 11:56:39 2011
# Generated by iptables-save v1.4.8 on Thu Dec  1 11:56:39 2011
*filter
:INPUT ACCEPT [168420:331763731]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [171998:40012555]
COMMIT
# Completed on Thu Dec  1 11:56:39 2011

2nd cmd said named.conf does not exist


Code:
tcp        0      0 0.0.0.0:3306            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:587             0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:110             0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:143             0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:953           0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:993             0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:995             0.0.0.0:*               LISTEN
tcp6       0      0 :::587                  :::*                    LISTEN
tcp6       0      0 :::2222                 :::*                    LISTEN
tcp6       0      0 :::80                   :::*                    LISTEN
tcp6       0      0 :::21                   :::*                    LISTEN
tcp6       0      0 ::1:53                  :::*                    LISTEN
tcp6       0      0 :::22                   :::*                    LISTEN
tcp6       0      0 ::1:953                 :::*                    LISTEN
tcp6       0      0 :::25                   :::*                    LISTEN
tcp6       0      0 :::443                  :::*                    LISTEN


Code:
bind      2826  0.0  0.1 264444 34244 ?        Ssl  Nov30   0:00 /usr/sbin/named -u bind
root     12869  0.0  0.0  13928  2548 pts/1    T    11:57   0:00 nano /etc/named.conf
root     12871  0.0  0.0  13804  2284 pts/1    T    11:57   0:00 nano /etc/named.conf

tried to edit but didnt exist
 
Code:
apt-get install lsof
apt-get: /usr/local/lib/libz.so.1: no version information available (required by /usr/lib/libapt-pkg.so.4.10)
Reading package lists... Done
Building dependency tree
Reading state information... Done
lsof is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
 
Code:
updatedb
locate named.conf | grep named.conf$

and

Code:
ps aux

and

Code:
/etc/init.d/named restart
 
Last edited:
Note those commands (in post#14) was not going to fix anything on your server, they were for diagnose purposes. So i need their output to see.
 
Code:
/etc/bind/named.conf


Code:
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0   8392   784 ?        Ss   Nov30   0:02 init [2]
root         2  0.0  0.0      0     0 ?        S    Nov30   0:00 [kthreadd]
root         3  0.0  0.0      0     0 ?        S    Nov30   0:00 [ksoftirqd/0]
root         6  0.0  0.0      0     0 ?        S    Nov30   0:00 [migration/0]
root         7  0.0  0.0      0     0 ?        S    Nov30   0:00 [migration/1]
root         8  0.0  0.0      0     0 ?        S    Nov30   0:00 [kworker/1:0]
root         9  0.0  0.0      0     0 ?        S    Nov30   0:00 [ksoftirqd/1]
root        10  0.0  0.0      0     0 ?        S    Nov30   0:04 [kworker/0:1]
root        11  0.0  0.0      0     0 ?        S    Nov30   0:00 [migration/2]
root        12  0.0  0.0      0     0 ?        S    Nov30   0:00 [kworker/2:0]
root        13  0.0  0.0      0     0 ?        S    Nov30   0:00 [ksoftirqd/2]
root        14  0.0  0.0      0     0 ?        S    Nov30   0:00 [migration/3]
root        15  0.0  0.0      0     0 ?        S    Nov30   0:00 [kworker/3:0]
root        16  0.0  0.0      0     0 ?        S    Nov30   0:00 [ksoftirqd/3]
root        17  0.0  0.0      0     0 ?        S    Nov30   0:00 [migration/4]
root        18  0.0  0.0      0     0 ?        S    Nov30   0:00 [kworker/4:0]
root        19  0.0  0.0      0     0 ?        S    Nov30   0:00 [ksoftirqd/4]
root        20  0.0  0.0      0     0 ?        S    Nov30   0:00 [migration/5]
root        21  0.0  0.0      0     0 ?        S    Nov30   0:00 [kworker/5:0]
root        22  0.0  0.0      0     0 ?        S    Nov30   0:00 [ksoftirqd/5]
root        23  0.0  0.0      0     0 ?        S    Nov30   0:00 [migration/6]
root        24  0.0  0.0      0     0 ?        S    Nov30   0:00 [kworker/6:0]
root        25  0.0  0.0      0     0 ?        S    Nov30   0:00 [ksoftirqd/6]
root        26  0.0  0.0      0     0 ?        S    Nov30   0:00 [migration/7]
root        27  0.0  0.0      0     0 ?        S    Nov30   0:00 [kworker/7:0]
root        28  0.0  0.0      0     0 ?        S    Nov30   0:00 [ksoftirqd/7]
root        29  0.0  0.0      0     0 ?        S<   Nov30   0:00 [cpuset]
root        30  0.0  0.0      0     0 ?        S<   Nov30   0:00 [khelper]
root       227  0.0  0.0      0     0 ?        S<   Nov30   0:00 [netns]
root       576  0.0  0.0      0     0 ?        S    Nov30   0:00 [sync_supers]
root       578  0.0  0.0      0     0 ?        S    Nov30   0:00 [bdi-default]
root       579  0.0  0.0      0     0 ?        S<   Nov30   0:00 [kintegrityd]
root       581  0.0  0.0      0     0 ?        S<   Nov30   0:00 [kblockd]
root       582  0.0  0.0      0     0 ?        S<   Nov30   0:00 [kacpid]
root       583  0.0  0.0      0     0 ?        S<   Nov30   0:00 [kacpi_notify]
root       584  0.0  0.0      0     0 ?        S<   Nov30   0:00 [kacpi_hotplug]
root       724  0.0  0.0      0     0 ?        S<   Nov30   0:00 [ata_sff]
root       734  0.0  0.0      0     0 ?        S    Nov30   0:00 [khubd]
root       741  0.0  0.0      0     0 ?        S<   Nov30   0:00 [md]
root       748  0.0  0.0      0     0 ?        S    Nov30   0:01 [kworker/1:1]
root       749  0.0  0.0      0     0 ?        S    Nov30   0:01 [kworker/2:1]
root       750  0.0  0.0      0     0 ?        S    Nov30   0:01 [kworker/3:1]
root       751  0.0  0.0      0     0 ?        S    Nov30   0:02 [kworker/4:1]
root       752  0.0  0.0      0     0 ?        S    Nov30   0:21 [kworker/5:1]
root       753  0.0  0.0      0     0 ?        S    Nov30   0:01 [kworker/6:1]
root       754  0.0  0.0      0     0 ?        S    Nov30   0:01 [kworker/7:1]
root       855  0.0  0.0      0     0 ?        S<   Nov30   0:00 [rpciod]
root       856  0.0  0.0      0     0 ?        S<   Nov30   0:00 [kvm-irqfd-clean]
root       949  0.0  0.0      0     0 ?        S    Nov30   0:00 [kswapd0]
root       950  0.0  0.0      0     0 ?        SN   Nov30   0:00 [ksmd]
root       951  0.0  0.0      0     0 ?        S    Nov30   0:00 [fsnotify_mark]
root       952  0.0  0.0      0     0 ?        S<   Nov30   0:00 [aio]
root       956  0.0  0.0      0     0 ?        S<   Nov30   0:00 [nfsiod]
root       961  0.0  0.0      0     0 ?        S<   Nov30   0:00 [xfs_mru_cache]
root       962  0.0  0.0      0     0 ?        S<   Nov30   0:00 [xfslogd]
root       963  0.0  0.0      0     0 ?        S<   Nov30   0:00 [xfsdatad]
root       964  0.0  0.0      0     0 ?        S<   Nov30   0:00 [xfsconvertd]
root       965  0.0  0.0      0     0 ?        S<   Nov30   0:00 [ocfs2_wq]
root       966  0.0  0.0      0     0 ?        S<   Nov30   0:00 [o2quot]
root       968  0.0  0.0      0     0 ?        S<   Nov30   0:00 [user_dlm]
root       971  0.0  0.0      0     0 ?        S<   Nov30   0:00 [glock_workqueue]
root       972  0.0  0.0      0     0 ?        S<   Nov30   0:00 [delete_workqueu]
root       973  0.0  0.0      0     0 ?        S<   Nov30   0:00 [gfs_recovery]
root       974  0.0  0.0      0     0 ?        S<   Nov30   0:00 [crypto]
root      1696  0.0  0.0      0     0 ?        S<   Nov30   0:00 [iscsi_eh]
root      1705  0.0  0.0      0     0 ?        S<   Nov30   0:00 [fc_exch_workque]
root      1706  0.0  0.0      0     0 ?        S<   Nov30   0:00 [fc_rport_eq]
root      1707  0.0  0.0      0     0 ?        S<   Nov30   0:00 [fcoethread/0]
root      1708  0.0  0.0      0     0 ?        S<   Nov30   0:00 [fcoethread/1]
root      1709  0.0  0.0      0     0 ?        S<   Nov30   0:00 [fcoethread/2]
root      1710  0.0  0.0      0     0 ?        S<   Nov30   0:00 [fcoethread/3]
root      1711  0.0  0.0      0     0 ?        S<   Nov30   0:00 [fcoethread/4]
root      1712  0.0  0.0      0     0 ?        S<   Nov30   0:00 [fcoethread/5]
root      1713  0.0  0.0      0     0 ?        S<   Nov30   0:00 [fcoethread/6]
root      1714  0.0  0.0      0     0 ?        S<   Nov30   0:00 [fcoethread/7]
root      1748  0.0  0.0      0     0 ?        S    Nov30   0:00 [scsi_eh_0]
root      1751  0.0  0.0      0     0 ?        S    Nov30   0:00 [scsi_eh_1]
root      1754  0.0  0.0      0     0 ?        S    Nov30   0:00 [scsi_eh_2]
root      1757  0.0  0.0      0     0 ?        S    Nov30   0:00 [scsi_eh_3]
root      1760  0.0  0.0      0     0 ?        S    Nov30   0:00 [scsi_eh_4]
root      1763  0.0  0.0      0     0 ?        S    Nov30   0:00 [scsi_eh_5]
root      1768  0.0  0.0      0     0 ?        S    Nov30   0:00 [kworker/u:4]
root      1769  0.0  0.0      0     0 ?        S    Nov30   0:00 [kworker/u:5]
root      1869  0.0  0.0      0     0 ?        S<   Nov30   0:00 [kpsmoused]
root      1894  0.0  0.0      0     0 ?        S<   Nov30   0:00 [kdelayd]
root      1895  0.0  0.0      0     0 ?        S<   Nov30   0:00 [kmpathd]
root      1896  0.0  0.0      0     0 ?        S<   Nov30   0:00 [kmpath_handlerd]
root      1899  0.0  0.0      0     0 ?        S<   Nov30   0:00 [edac-poller]
root      1916  0.0  0.0      0     0 ?        S<   Nov30   0:00 [kondemand]
root      1917  0.0  0.0      0     0 ?        S<   Nov30   0:00 [kconservative]
root      2083  0.0  0.0      0     0 ?        S    Nov30   0:00 [kworker/0:2]
root      2086  0.0  0.0      0     0 ?        S    Nov30   0:02 [jbd2/sda1-8]
root      2087  0.0  0.0      0     0 ?        S<   Nov30   0:00 [ext4-dio-unwrit]
root      2133  0.0  0.0  17164  1080 ?        S<s  Nov30   0:00 udevd --daemon
root      2635  0.0  0.0      0     0 ?        S    Nov30   0:05 [flush-8:0]
root      2698  0.0  0.0 120256  1780 ?        Sl   Nov30   0:02 /usr/sbin/rsyslogd -
root      2755  0.0  0.0  12716   400 ?        Ss   Nov30   0:00 /sbin/mdadm --monito
root      2795  0.0  0.0   1440   236 ?        Ss   Nov30   0:01 /usr/local/directadm
daemon    2800  0.0  0.0  18752   376 ?        Ss   Nov30   0:00 /usr/sbin/atd
root      2815  0.0  0.0 167716  8972 ?        Ssl  Nov30   0:00 /usr/sbin/lwresd
root      2839  0.0  0.0   9104   596 ?        Ss   Nov30   0:13 /usr/sbin/irqbalance
root      2860  0.0  0.0  49208  1144 ?        Ss   Nov30   0:00 /usr/sbin/sshd
106       2940  0.0  0.0  23300   436 ?        Ss   Nov30   0:00 /usr/bin/dbus-daemon
root      3022  0.0  0.0  22916   980 ?        Ss   Nov30   0:00 /usr/sbin/cron
ftp       3030  0.0  0.0  30164  1624 ?        Ss   Nov30   0:00 proftpd: (accepting
root      3069  0.0  0.0   5972   584 tty1     Ss+  Nov30   0:00 /sbin/getty 38400 tt
root      3070  0.0  0.0   5972   584 tty2     Ss+  Nov30   0:00 /sbin/getty 38400 tt
root      3071  0.0  0.0   5972   584 tty3     Ss+  Nov30   0:00 /sbin/getty 38400 tt
root      3072  0.0  0.0   5972   584 tty4     Ss+  Nov30   0:00 /sbin/getty 38400 tt
root      3073  0.0  0.0   5972   584 tty5     Ss+  Nov30   0:00 /sbin/getty 38400 tt
root      3074  0.0  0.0   5972   584 tty6     Ss+  Nov30   0:00 /sbin/getty 38400 tt
root      3078  0.0  0.0  17160   980 ?        S<   Nov30   0:00 udevd --daemon
root      3079  0.0  0.0  17160   980 ?        S<   Nov30   0:00 udevd --daemon
root     10753  0.0  0.0  70528  3420 ?        Ss   09:11   0:00 sshd: root@pts/0
root     10801  0.0  0.0  23740  3984 pts/0    Ss   09:12   0:00 -bash
nobody   11408  0.0  0.0  39928  2044 ?        Ss   09:12   0:00 /usr/local/directadm
root     12244  0.0  0.0  13804  2472 pts/0    T    09:20   0:00 nano /etc/bind/named
root     12376  0.0  0.0  49032  4144 ?        Ss   09:22   0:00 /usr/sbin/httpd -k s
apache   12384  0.0  0.0  49296  3152 ?        S    09:22   0:00 /usr/sbin/httpd -k s
apache   12385  0.0  0.0  49364  3456 ?        S    09:22   0:00 /usr/sbin/httpd -k s
apache   12386  0.0  0.0  49476  3620 ?        S    09:22   0:00 /usr/sbin/httpd -k s
apache   12387  0.0  0.0  49296  3144 ?        S    09:22   0:00 /usr/sbin/httpd -k s
apache   12388  0.0  0.0  49348  3392 ?        S    09:22   0:00 /usr/sbin/httpd -k s
root     12391  0.0  0.0  13804  2284 pts/0    T    09:22   0:00 nano /etc/virtual//e
apache   12393  0.0  0.0  49164  3148 ?        S    09:22   0:00 /usr/sbin/httpd -k s
root     12450  0.0  0.0  70528  3284 ?        Ss   09:23   0:00 sshd: admin [priv]
admin    12452  0.0  0.0  70528  1624 ?        S    09:23   0:00 sshd: admin@pts/2
admin    12453  0.0  0.0  26908  7148 pts/2    Ss+  09:23   0:00 -bash
apache   13020  0.0  0.0  49324  3256 ?        S    09:34   0:00 /usr/sbin/httpd -k s
apache   13021  0.0  0.0  49164  3148 ?        S    09:34   0:00 /usr/sbin/httpd -k s
admin    13860  0.0  0.0  30988  3328 ?        SL   09:51   0:01 proftpd: admin - ::f
admin    13861  0.0  0.0  31028  3280 ?        SL   09:51   0:01 proftpd: admin - ::f
bind     14328  0.0  0.0 181612 14568 ?        Ssl  09:59   0:00 /usr/sbin/named -u b
nobody   14607  0.0  0.0  39928   724 ?        S    10:02   0:00 /usr/local/directadm
nobody   14608  0.0  0.0  39928   724 ?        S    10:02   0:00 /usr/local/directadm
nobody   14609  0.0  0.0  39928   724 ?        S    10:02   0:00 /usr/local/directadm
nobody   14610  0.0  0.0  39928   724 ?        S    10:02   0:00 /usr/local/directadm
apache   14612  0.0  0.0  49348  3332 ?        S    10:02   0:00 /usr/sbin/httpd -k s
nobody   14613  0.0  0.0  39928   724 ?        S    10:02   0:00 /usr/local/directadm
root     15626  0.0  0.0  24324   904 ?        Ss   Dec01   0:00 /usr/sbin/dovecot
dovecot  15628  0.0  0.0  26380  2544 ?        S    Dec01   0:00 dovecot/pop3-login
dovecot  15629  0.0  0.0  26380  2544 ?        S    Dec01   0:00 dovecot/pop3-login
dovecot  15630  0.0  0.0  26380  2544 ?        S    Dec01   0:00 dovecot/pop3-login
dovecot  15631  0.0  0.0  26380  2544 ?        S    Dec01   0:00 dovecot/pop3-login
dovecot  15632  0.0  0.0  26380  2544 ?        S    Dec01   0:00 dovecot/pop3-login
dovecot  15633  0.0  0.0  26380  2544 ?        S    Dec01   0:00 dovecot/pop3-login
dovecot  15634  0.0  0.0  26380  2544 ?        S    Dec01   0:00 dovecot/pop3-login
dovecot  15635  0.0  0.0  26380  2544 ?        S    Dec01   0:00 dovecot/pop3-login
dovecot  15636  0.0  0.0  26380  2544 ?        S    Dec01   0:00 dovecot/pop3-login
dovecot  15637  0.0  0.0  26380  2544 ?        S    Dec01   0:00 dovecot/pop3-login
dovecot  15638  0.0  0.0  26380  2544 ?        S    Dec01   0:00 dovecot/pop3-login
dovecot  15639  0.0  0.0  26380  2544 ?        S    Dec01   0:00 dovecot/pop3-login
dovecot  15640  0.0  0.0  26380  2544 ?        S    Dec01   0:00 dovecot/pop3-login
dovecot  15642  0.0  0.0  26380  2544 ?        S    Dec01   0:00 dovecot/pop3-login
dovecot  15643  0.0  0.0  26380  2544 ?        S    Dec01   0:00 dovecot/pop3-login
dovecot  15644  0.0  0.0  26380  2544 ?        S    Dec01   0:00 dovecot/pop3-login
dovecot  15645  0.0  0.0  26384  2544 ?        S    Dec01   0:00 dovecot/imap-login
dovecot  15646  0.0  0.0  26384  2544 ?        S    Dec01   0:00 dovecot/imap-login
dovecot  15647  0.0  0.0  26384  2544 ?        S    Dec01   0:00 dovecot/imap-login
dovecot  15648  0.0  0.0  26384  2544 ?        S    Dec01   0:00 dovecot/imap-login
dovecot  15649  0.0  0.0  26384  2544 ?        S    Dec01   0:00 dovecot/imap-login
dovecot  15650  0.0  0.0  26384  2544 ?        S    Dec01   0:00 dovecot/imap-login
dovecot  15651  0.0  0.0  26384  2544 ?        S    Dec01   0:00 dovecot/imap-login
dovecot  15652  0.0  0.0  26384  2544 ?        S    Dec01   0:00 dovecot/imap-login
dovecot  15653  0.0  0.0  26384  2544 ?        S    Dec01   0:00 dovecot/imap-login
dovecot  15654  0.0  0.0  26384  2544 ?        S    Dec01   0:00 dovecot/imap-login
dovecot  15655  0.0  0.0  26384  2544 ?        S    Dec01   0:00 dovecot/imap-login
dovecot  15656  0.0  0.0  26384  2544 ?        S    Dec01   0:00 dovecot/imap-login
dovecot  15657  0.0  0.0  26384  2544 ?        S    Dec01   0:00 dovecot/imap-login
dovecot  15658  0.0  0.0  26384  2544 ?        S    Dec01   0:00 dovecot/imap-login
dovecot  15659  0.0  0.0  26384  2544 ?        S    Dec01   0:00 dovecot/imap-login
dovecot  15660  0.0  0.0  26384  2544 ?        S    Dec01   0:00 dovecot/imap-login
dovecot  15661  0.0  0.0  15868  1040 ?        S    Dec01   0:00 dovecot/anvil [35 co
root     15662  0.0  0.0  15996  1156 ?        S    Dec01   0:00 dovecot/log
root     15665  0.0  0.0  25944  2584 ?        S    Dec01   0:00 dovecot/config
root     15668  0.0  0.0  18864  1808 ?        S    Dec01   0:00 dovecot/auth [0 wait
root     15693  0.0  0.0  16824  1116 pts/0    R+   10:21   0:00 ps aux
mysql    19562  0.0  0.1 206276 36088 ?        Sl   Dec01   0:08 /usr/local/mysql/bin
root     23819  0.0  0.0   9180  1408 ?        S    Dec01   0:00 /bin/sh /usr/local/m
mail     30765  0.0  0.0  42456  1264 ?        Ss   Dec01   0:00 /usr/sbin/exim -bd -
root     30890  0.0  0.0   1440   236 ?        Ss   Dec01   0:00 /usr/local/directadm

Code:
root@server139378:/# /etc/init.d/named restart
Stopping domain name service...: bind9 waiting for pid 14328 to die.
Starting domain name service...: bind9.
 
root@server139378:/# cat /etc/bind/named.conf | grep -v ^zone
// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local

include "/etc/bind/named.conf.options";
include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones";
 
It should look like following:

Code:
// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local

include "/etc/bind/named.conf.options";

// prime the server with knowledge of the root servers
zone "." {
        type hint;
        file "/etc/bind/db.root";
};

// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912

zone "localhost" {
        type master;
        file "/etc/bind/db.local";
};

zone "127.in-addr.arpa" {
        type master;
        file "/etc/bind/db.127";
};

zone "0.in-addr.arpa" {
        type master;
        file "/etc/bind/db.0";
};

zone "255.in-addr.arpa" {
        type master;
        file "/etc/bind/db.255";
};

include "/etc/bind/named.conf.local";

zone "****" { type master; file "/etc/bind/****.db"; };
...
...
...
zone "****" { type master; file "/etc/bind/****.db"; };

So update it keeping lines beginning with zone "domain.com" { type master; file "/etc/bind/domain.com.db"; }; in the end of file untouched. And restart bind

Code:
/etc/init.d/named restart

and show output of
Code:
netstat -lnp | grep named
 
Back
Top