This is a discussion on Open BSD 3.6 (macppc) - Bind / DNS acls within the Bind Users forums, part of the DNS and Related Forums category; Hello:=20 Well, I'm very confused now - I need this config (named.conf below) to answer client queries from ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hello:=20
Well, I'm very confused now - I need this config (named.conf below) to answer client queries from a number of 10.0.0.0/16 nextworks; but it seems it'll not even answer nslookups while logged directly into it via an ssh client (see below). resolv.conf is set to 127.0.0.1 I'm not seeing anything in the log dir for named. Which docs/mans should I be reading order to improve the logging on this service. TIA! -------------------------------------nslookup--------------------------- ------------------------------ laxbcastdns01# nslookup > laxbcastdns01 ;; connection timed out; no servers could be reached --------------------------------------named.conf------------------------ ----------------------------------- laxbcastdns01# cat named.conf //Defining acls acl clients { localnets; ::1; <-------------------------- what is this? }; options { version ""; //remove this to allow version quueries listen-on { any; }; allow-recursion { clients; }; }; logging { category lame-servers { null; }; }; // //Standard zones // zone "." { type hint; file "standard/root.hint"; }; zone "localhost" { type master; file "standard/localhost"; allow-transfer { localhost; }; }; zone "0.0.127.in-addr.arpa" { type master; file "standard/loopback"; allow-transfer { localhost; }; }; // //Master zones // zone "tvgbcast.tvgnetwork.local" { type master; file "master/tvgbcast.tvgnetwork.local.zone"; allow-transfer { localhost; }; }; What am I doing wrong here? -----------------------------other info------------------------------------- laxbcastdns01# dmesg 0 targ 0 lun 0: <MATSHITA, DVD-ROM SR-8585, 1A28> SCSI0 5/cdrom removable atapiscsi1 at wdc1 channel 0 drive 1 scsibus1 at atapiscsi1: 2 targets sd0 at scsibus1 targ 0 lun 0: <IOMEGA, ZIP 100, 04.H> SCSI0 0/direct removable sd0: drive offline cd0(wdc1:0:0): using BIOS timings, DMA mode 1 sd0(wdc1:0:1): using BIOS timings, DMA mode 1 wdc2 at macobio0 irq 21: DMA ohci0 at pci2 dev 8 function 0 "Apple USB" rev 0x00: irq 27, version 1.0 usb0 at ohci0: USB revision 1.0 uhub0 at usb0 uhub0: Apple OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ohci1 at pci2 dev 9 function 0 "Apple USB" rev 0x00: irq 28, version 1.0 usb1 at ohci1: USB revision 1.0 uhub1 at usb1 uhub1: Apple OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered "Texas Instruments TSB12LV23 FireWire" rev 0x00 at pci2 dev 10 function 0 not configured mpcpcibr2 at mainbus0: uni-north, Revision 0xff pci3 at mpcpcibr2 bus 0 pchb2 at pci3 dev 11 function 0 "Apple Uni-N Eth" rev 0x00 gem0 at pci3 dev 15 function 0 "Apple GMAC" rev 0x01: irq 41, address 00:30:65:52:3b:f4 bmtphy0 at gem0 phy 0: BCM5201 10/100 media interface, rev. 2 bootpath: '/pci@f2000000/@d/mac-io@7/ata-4@1f000/disk@0/bsd' boot device: wd0. root on wd0a rootdev=3D0x0 rrootdev=3D0xb00 rawdev=3D0xb02 syncing disks... done rebooting laxbcastdns01# ps -aux USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND root 1 0.0 0.2 708 248 ?? Is 8:29PM 0:00.03 /sbin/init root 28914 0.0 0.4 424 552 ?? Is 8:29PM 0:00.02 syslogd: [priv] (syslogd) _syslogd 22286 0.0 0.4 448 572 ?? S 8:29PM 0:00.04 syslogd -a /var/named/dev/log -a /var/empty/ root 7602 0.0 0.5 1608 584 ?? Is 8:29PM 0:00.01 named: [priv] (named) named 12718 0.0 1.8 2348 2380 ?? S 8:29PM 0:00.68 named _portmap 11633 0.0 0.4 400 556 ?? Is 8:29PM 0:00.00 portmap root 24899 0.0 0.5 376 616 ?? Is 8:29PM 0:00.01 inetd root 11709 0.0 1.1 628 1372 ?? Is 8:29PM 0:01.62 /usr/sbin/sshd root 16332 0.0 0.5 564 680 ?? Is 8:29PM 0:00.12 cron root 9633 0.0 1.1 1188 1400 ?? Ss 8:31PM 0:00.21 sendmail: accepting connections (sendmail) root 26489 0.0 1.9 640 2492 ?? Ss 8:36PM 0:00.99 sshd: root@ttyp0 (sshd) root 11117 0.0 0.3 720 360 p0 Ss 8:37PM 0:00.10 -csh (csh) root 14232 0.0 0.2 684 240 p0 T 8:38PM 0:00.01 ping laxbcastdns01 root 1038 0.0 0.2 644 228 p0 T 9:04PM 0:00.00 ping laxbcastdns01 root 14859 0.0 0.7 568 836 p0 T 9:06PM 0:00.08 Mail root 31494 0.0 0.7 564 844 p0 T 9:10PM 0:00.03 Mail root 13554 0.0 1.0 592 1268 p0 T 9:10PM 0:00.08 more root 11316 0.0 0.9 516 1184 p0 T 9:15PM 0:00.03 less root 8377 0.0 0.2 736 244 p0 T 9:45PM 0:00.01 ping localhost root 3465 0.0 0.1 596 168 p0 ?+ 10:04PM 0:00.00 ps -aux root 978 0.0 0.6 316 744 C0 Is+ 8:29PM 0:00.30 /usr/libexec/getty std.9600 ttyC0 laxbcastdns01# Let me know if you need more info...... ___________________________________________ Chris Rondthaler -=20 MIS Manager TVG Network |