Date: Fri, 19 Jan 2001 15:37:34 -0800 From: "Irma E. Cramins" <irma.cramins@gte.net> To: "'freebsd-questions@FreeBSD.ORG'" <freebsd-questions@FreeBSD.ORG> Subject: DNS and resolv.conf? Message-ID: <01C0822D.BF5790A0.irma.cramins@gte.net>
next in thread | raw e-mail | index | archive | help
I am currently running FreeBSD-RELEASE 4.2 with a DSL connection (DHCP). I also have natd configured and am running a Class C network at home with several Win/98 boxes (trying to get the kids to work with UNIX but they are still learning to type...). I have configured named and run it with the "-d 1" option to verify it is working as well as used nslookup, dig, etc. to verify funcionality, everything checks out. The trouble is, even if I delete /etc/resolve.conf, it is still created with "search vz.dsl.genuity.net, nameserver 4.2.2.1, etc". Attempts to modify it result in recreation on subsequent restarts with the same information as above. When nslookup is run, the default server is not my own, but rather my upstream provider. This does not sound like a correct setup of DNS, as my system should not need this file, nor do I wish to use my providers name server. I have a registered domain name and secondary DNS is setup as well (ns1.granitecanyon.com). Have I done this correctly or does this sound like a buggy installation? Here is some info: network interfaces: xl0 (DHCP), ed0 (192.168.0.1 netmask 255.255.255.0) gateway is enabled in rc.conf as well as defaultrouter="4.3.181.7" /etc/resolv.conf entries: search vz.dsl.genuity.net nameserver 4.2.2.1 nameserver 4.2.2.2 nameserver 4.2.2.3 /etc/hosts entries: ::1 localhost localhost.cramins.net server.cramins.net 127.0.0.1 localhost localhost.cramins.net server.cramins.net /etc/named/named.conf entries: options { directory "/etc/namedb"; }; zone "." { type hint; file "named.root"; }; zone "0.0.127.IN-ADDR.ARPA" { type master; file "localhost.rev"; }; zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.INT" { type master; file "localhost.rev"; }; zone "cramins.net" { type master; file "db.cramins.net"; }; zone"0.168.192.in-addr.arpa" { type master; file "db.cramins.net.rev"; }; /etc/named/db.cramins.net entries: @ IN SOA server.cramins.net. soa.cramins.net. ( 2001011602 10800 3600 3600000 86400 ) IN NS server.cramins.net. IN NS ns1.granitecanyon.com. IN MX 10 server.cramins.net. server.cramins.net. IN A 4.3.181.7 $ORIGIN cramins.net. server IN A 192.168.0.1 workstation1 IN A 192.168.0.2 laptop1 IN A 192.168.0.3 workstation2 IN A 192.168.0.4 workstation3 IN A 192.168.0.5 /etc/named/db.cramins.net.rev entries: @ IN SOA server.cramins.net. soa.cramins.net. ( 2001011602 10800 3600 3600000 86400 ) IN NS server.cramins.net. IN NS ns1.granitecanyone.com. 1 IN PTR server 2 IN PTR workstation1 3 IN PTR laptop1 4 IN PTR workstation2 5 IN PTR workstation3 Thanks, Garry P. Cramins gcramins@apexmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01C0822D.BF5790A0.irma.cramins>