Код: Выделить всё
FreeBSD 6.2-RELEASE-p8
набираю
Код: Выделить всё
[root@bc ~/nam]# nslookup ya.ru
Server: ext_IP
Address: ext_IP#53
Non-authoritative answer:
Name: ya.ru
Address: 213.180.204.8
Код: Выделить всё
[root@bc ~/nam]# host udaff.com 192.168.25.2
;; connection timed out; no servers could be reached
[root@bc ~/nam]# host udaff.com 192.168.25.2
;; connection timed out; no servers could be reached
[root@bc ~/nam]# host udaff.com 192.168.25.2
Using domain server:
Name: 192.168.25.2
Address: 192.168.25.2#53
Aliases:
udaff.com has address 78.140.130.204
;; connection timed out; no servers could be reached
;; connection timed out; no servers could be reached
Код: Выделить всё
[root@bc ~/nam]# sockstat | grep named
bind named 50801 3 dgram -> /var/run/logpriv
bind named 50801 5 stream -> /var/db/samba/winbindd_privileged/pipe
bind named 50801 20 udp4 192.168.25.2:53 *:*
bind named 50801 21 tcp4 192.168.25.2:53 *:*
bind named 50801 22 udp4 192.168.21.2:53 *:*
bind named 50801 23 tcp4 192.168.21.2:53 *:*
bind named 50801 24 udp4 ext_IP:53 *:*
bind named 50801 25 tcp4 ext_IP:53 *:*
bind named 50801 26 udp4 127.0.0.1:53 *:*
bind named 50801 27 tcp4 127.0.0.1:53 *:*
bind named 50801 28 udp4 192.168.0.2:53 *:*
bind named 50801 29 tcp4 192.168.0.2:53 *:*
bind named 50801 30 udp4 *:58120 *:*
bind named 50801 31 udp6 *:58121 *:*
bind named 50801 32 tcp4 127.0.0.1:953 *:*
bind named 50801 33 tcp6 ::1:953 *:*
root syslogd 875 7 dgram /var/named/var/run/log
Код: Выделить всё
[root@bc ~/nam]# cat /etc/rc.conf | grep named
named_enable="yes"
named_flag="-u bind -g bind"
Код: Выделить всё
[root@bc ~/nam]# ps ax | grep named
875 ?? Ss 6:02,82 /usr/sbin/syslogd -l /var/run/log -l /var/named/var/r
50801 ?? Ss 0:01,92 /usr/sbin/named -t /var/named -u bind
51146 p0 S+ 0:00,00 grep named