Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]tlug: Local DNS and zone files
- To: "Tokyo Linux Users Group" <tlug@example.com>
- Subject: tlug: Local DNS and zone files
- From: "Subba Rao" <subb3@example.com>
- Date: Sun, 28 Feb 1999 10:52:32 -0500 (EST)
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset="us-ascii"
- Reply-To: tlug@example.com
- Sender: owner-tlug@example.com
Hello I am trying to setup DNS on my system. I have a bogus domain "lynix.com" After following the instructions in DNS-HOWTO, using "nslookup" for lynix.com, I get the following message > lynix.com Server: localhost Address: 127.0.0.1 *** localhost can't find lynix.com: Non-existent host/domain > In the trace file, it is searching for lynix.com.lynix.com. I have included part of the trace file output. I can get all the internet domains listed using nslookup. The bind package I am using is version 8.1.2. I have listed all the pertinent files for named below. Can someone shed some light on what I may be doing wrong? Thank you in advance. SubbaRao subb3@example.com ----------------------------------------------------- Disclaimer - I question and speak for myself. ======================================================================= # # /etc/resolv.conf # # Automatically generated by SuSEconfig on Sat Jul 4 20:15:04 EDT 1998. # # PLEASE DO NOT EDIT THIS FILE! # # Change variables (NAMESERVER + SEARCHLIST) in /etc/rc.config instead. # # domain lynix.com search lynix.com nameserver 127.0.0.1 nameserver <ISP nameserver IP number> nameserver <ISP nameserver IP number> ---------------- named.conf -------------------- // Config file for caching only name server options { directory "/var/named"; // Uncommenting this might help if you have to go through a // firewall and things are not working out: // query-source port 53; }; zone "." { type hint; file "root.hints"; }; zone "lynix.zone" { notify no; type master; file "pz/lynix.zone"; }; zone "0.0.127.in-addr.arpa" { notify no; type master; file "pz/127.0.0"; }; zone "0.0.10.in-addr.arpa" { notify no; type master; file "pz/10.0.0"; }; ---------------- named.conf -------------------- ---------------- lynix.zone -------------------- ; ; Zone file for linux.bogus ; ; The full zone file ; @ IN SOA caesar.lynix.com. root.caesar.lynix.com. ( 199802151 ; serial, todays date + todays serial # 8H ; refresh, seconds 2H ; retry, seconds 1W ; expire, seconds 1D ) ; minimum, seconds ; TXT "DNS Server" NS caesar NS caesar.lynix.com. MX 10 caesar.lynix.com. ; localhost A 127.0.0.1 caesar A 10.0.0.4 TXT "System 4" kaiser A 10.0.0.2 TXT "System 2" maharaja A 10.0.0.3 TXT "System 3" saint A 10.0.0.1 TXT "System 1" ns CNAME caesar ---------------- lynix.zone -------------------- ---------------- 127.0.0 ----------------------- @ IN SOA caesar.lynix.com. root.caesar.lynix.com. ( 1 ; Serial 8H ; Refresh 2H ; Retry 1W ; Expire 1D) ; Minimum TTL NS caesar.lynix.com. 1 PTR localhost. ---------------- 127.0.0 ----------------------- ---------------- 10.0.0 ----------------------- @ IN SOA caesar.lynix.com. root.caesar.lynix.com. ( 1 ; Serial 8H ; Refresh 2H ; Retry 1W ; Expire 1D) ; Minimum TTL NS caesar.lynix.com. 1 PTR caesar.lynix.com. 2 PTR kaiser.lynix.com. 3 PTR maharaja.lynix.com. 4 PTR saint.lynix.com. ---------------- 10.0.0 ----------------------- ----------------- output in tracefile --------------- req: nlookup(lynix.com) id 20827 type=1 class=1 req: found 'lynix.com' as 'com' (cname=0) forw: forw -> [128.63.2.53].53 ds=4 nsid=34714 id=20827 381ms retry 4sec resend(addr=1 n=0) -> [192.33.4.12].53 ds=4 nsid=34714 id=20827 5007ms datagram from [127.0.0.1].1416, fd 20, len 27 req: nlookup(lynix.com) id 20827 type=1 class=1 req: found 'lynix.com' as 'com' (cname=0) forw: forw -> [128.63.2.53].53 ds=4 nsid=34715 id=20827 381ms retry 4sec datagram from [128.63.2.53].53, fd 4, len 104 ncache: dname lynix.com, type 1, class 1 send_msg -> [127.0.0.1].1416 (UDP 20) id=20827 datagram from [127.0.0.1].1418, fd 20, len 37 req: nlookup(lynix.com.lynix.com) id 20828 type=1 class=1 req: found 'lynix.com.lynix.com' as 'lynix.com' (cname=0) forw: forw -> [128.63.2.53].53 ds=4 nsid=34716 id=20828 320ms retry 4sec resend(addr=1 n=0) -> [192.33.4.12].53 ds=4 nsid=34716 id=20828 4906ms datagram from [127.0.0.1].1418, fd 20, len 37 req: nlookup(lynix.com.lynix.com) id 20828 type=1 class=1 req: found 'lynix.com.lynix.com' as 'lynix.com' (cname=0) forw: forw -> [128.63.2.53].53 ds=4 nsid=34717 id=20828 320ms retry 4sec datagram from [128.63.2.53].53, fd 4, len 114 ncache: dname lynix.com.lynix.com, type 1, class 1 send_msg -> [127.0.0.1].1418 (UDP 20) id=20828 ----------------- output in tracefile --------------- ------------------------------------------------------------------- Next Nomikai: March 19 (Fri), 19:30 Tengu TokyoEkiMae 03-3275-3691 Next Technical Meeting: April 10 (Sat), 12:30 place: Temple Univ. ------------------------------------------------------------------- more info: http://tlug.linux.or.jp Sponsor: PHT
Home | Main Index | Thread Index
- Next by Date: tlug: DNS and Intranet
- Next by thread: tlug: DNS and Intranet
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links