[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

on DNS - novice question and the FAQ



Greetings,

After spending some time trying to set up DNS and not having
everything work out, I decided to try and implement the settings
in the FAQ to see if my system is healthy before moving on to
putting my own settings in.  I'm a novice, so I do not know why
the FAQ settings don't work either.  System is 2.8-stable

# dig @nemo.yewtopia yewtopia any any

; <<>> DiG 2.2 <<>> @nemo.yewtopia yewtopia any any
; Bad server: nemo.yewtopia -- using default server and timer opts
; (1 server found)
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 42696
;; flags: qr rd ra; Ques: 1, Ans: 0, Auth: 0, Addit: 0
;; QUESTIONS:
;;      yewtopia, type = ANY, class = ANY

;; Total query time: 0 msec
;; FROM: nemo to SERVER: default -- 0.0.0.0
;; WHEN: Fri Aug  3 08:03:21 2001
;; MSG SIZE  sent: 26  rcvd: 26


Perhaps I needed a .com on the end of nemo.yewtopia, so I tried that and got:

; <<>> DiG 2.2 <<>> @nemo.yewtopia.com yewtopia any any
; (1 server found)
;; res options: init recurs defnam dnsrch

..and that was it (without returning a prompt, had to ctrl-c it)

If someone could shed some light on this I would heartily appreciate
it.  Also, if I left out some info, let me know and I'll send that too.

Thanks,
Brian




---/etc/hosts--- # Host addresses 127.0.0.1 localhost localhost.localdomain 192.168.1.9 nemo nemo.yewtopia.com


---/etc/resolv.conf--- domain yewtopia.com lookup file bind


---/etc/myname--- nemo


---/var/named/named.boot--- ; tell what subdir has the lookup database files directory /namedb

; type    domain                source host/file
backup file
cache
root.cache
primary   0.0.127.IN-ADDR.ARPA  localhost.rev

; example primary server config:
primary  yewtopia.com yewtopia
primary  1.168.192.IN-ADDR.ARPA yewtopia.rev


---/var/named/namedb/localhost.rev--- ; Reverse lookup for localhost interface @ IN SOA nemo.yewtopia.com. your_id.nemo.yewtopia.com. ( 14 ; Serial 3600 ; Refresh 900 ; Retry 3600000 ; Expire 3600 ) ; Minimum IN NS nemo.yewtopia.com. 1 IN PTR localhost.yewtopia.com.


---/var/named/namedb/yewtopia--- ; yewtopia.com domain database yewtopia.com. IN SOA nemo.yewtopia.com. your_id.nemo.yewtopia.com. ( 14 ; Serial 3600 ; Refresh 900 ; Retry 3600000 ; Expire 3300 ) ; Minimum IN NS nemo.yewtopia.com.

; Addresses
localhost.yewtopia.com.      IN A    127.0.0.1
crater.yewtopia.com.         IN A    192.168.1.1
earhart.yewtopia.com.        IN A    192.168.1.2
nemo.yewtopia.com.           IN A    192.168.1.9


---/var/named/namedb/yewtopia.rev--- ; yewtopia domain reverse lookup database 1.168.192.in-addr.arpa. IN SOA nemo.yewtopia.com. your_id.nemo.yewtopia.com. ( 14 ; Serial 3600 ; Refresh 900 ; Retry 3600000 ; Expire 3400 ) ; Minimum 1.168.192.in-addr.arpa. IN NS nemo.yewtopia.com.

; Addresses
1.1.168.192.in-addr.arpa. IN PTR crater.yewtopia.com.
2.1.168.192.in-addr.arpa. IN PTR earhart.yewtopia.com.
9.1.168.192.in-addr.arpa. IN PTR nemo.yewtopia.com.

---/var/run/dmesg---
OpenBSD 2.8-stable (GENERIC) #0: Sat Apr 7 09:32:05 EST 2001
bab_(_at_)_ns1:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III ("GenuineIntel" 686-class, 512KB L2 cache) 451 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SYS,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,
SIMD
real mem = 133804032 (130668K)
avail mem = 119054336 (116264K)
using 1658 buffers containing 6791168 bytes (6632K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(71) BIOS, date 07/07/99, BIOS32 rev. 0 @ 0xfb380
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev. 2.1 found at 0xf0000[0xb7f8]
pcibios0: PCI IRQ Routing Table rev. 1.0 found at 0xfde90, size 112 bytes (5 entri
es)
pcibios0: bad IRQ table checksum
pcibios0: PCI BIOS has 5 Interrupt Routing table entries
pcibios0: PCI Exclusive IRQs: 5 10 11
pcibios0: PCI bus #1 is the last bus
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82443BX PCI-AGP" rev 0x03
ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x03
pci1 at ppb0 bus 1
"SIS 6326 AGP Video" rev 0xd2 at pci1 dev 0 function 0 not configured
pcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x02
pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE (PIIX4)" rev 0x01: DMA, channe
l 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <FUJITSU MPD3130AT>
wd0: can use 32-bit, PIO mode 4, DMA mode 2, Ultra-DMA mode 2
wd0: 16-sector PIO, LBA, 12417MB, 16383 cyl, 16 head, 63 sec, 25431840 sectors
pciide0: channel 0 interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
atapiscsi0 at pciide0 channel 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <E-IDE, CD-ROM 40X/AKU, U40> SCSI0 5/cdrom removable
cd0: can use 32-bit, PIO mode 4, DMA mode 2
pciide0: channel 1 interrupting at irq 15
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
"Intel 82371AB USB (PIIX4)" rev 0x01 at pci0 dev 7 function 2 not configured
"Intel 82371AB Power Management (PIIX4)" rev 0x02 at pci0 dev 7 function 3 not con
figured
xl0 at pci0 dev 9 function 0 "3Com 3c905B 100Base-TX" rev 0x30: irq 10 address 00:
01:02:72:1b:87
exphy0 at xl0 phy 24: 3Com internal media interface
xl1 at pci0 dev 11 function 0 "3Com 3c905B 100Base-TX" rev 0x30: irq 5 address 00:
01:02:ec:4b:76
exphy1 at xl1 phy 24: 3Com internal media interface
isa0 at pcib0
isadma0 at isa0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
vt0 at isa0 port 0x60/16 irq 1: vga 80 col, color, 8 scr, mf2-kbd
pms0 at vt0 irq 12
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask c040 netmask c460 ttymask d4e2
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matched BIOS disk 80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302


--------------------
(needed to make sure named was running, and it is)

# ps 32551
  PID TT   STAT      TIME COMMAND
32551 ??  Is      0:00.01 named -t /var/named -u named