Date: Sat, 27 Nov 1999 15:59:49 -0500 (EST) From: Spidey <beaupran@iro.umontreal.ca> To: freebsd-security@freebsd.org Subject: localhost Message-ID: <14400.17989.189233.907961@anarcat.dyndns.org>
next in thread | raw e-mail | index | archive | help
Hi! Regarding the previous thread about the DNS problems. I seem to suffer (I think) the same configuration problems. # nslookup myhost.dyndns.org Server: localhost Address: 127.0.0.1 Non-authoritative answer: Name: myhost.dyndns.org Address: 207.162.101.21 # nslookup localhost Server: localhost Address: 127.0.0.1 Name: localhost.dyndns.org Address: 127.0.0.1 # The fact that I have a dynamic IP, and that I use dyndns.org services sure gives me trouble, but there's surely a way to get over this. Is there some good DNS tutorial or doc out there? I have the following relevant config in named and such: /etc/resolv.conf: nameserver 127.0.0.1 /etc/namedb/named.conf: options { directory "/var/namedb"; }; zone "." { type hint; file "named.root"; }; zone "0.0.127.IN-ADDR.ARPA" { type master; file "localhost.rev"; }; logging { channel sys_secure { syslog auth; severity info; }; category default { default_syslog; default_debug; }; category security { sys_secure; default_syslog; default_debug; }; }; /var/namedb/localhost.rev: ; From: @(#)localhost.rev 5.1 (Berkeley) 6/30/90 ; $FreeBSD: src/etc/namedb/PROTO.localhost.rev,v 1.4.2.1 1999/08/29 14:19:29 pet er Exp $ ; ; This file is automatically edited by the `make-localhost' script in ; the /etc/namedb directory. ; @ IN SOA myhost.dyndns.org. root.myhost.dyndns.org. ( 19991025 ; Serial 3600 ; Refresh 900 ; Retry 3600000 ; Expire 3600 ) ; Minimum IN NS myhost.dyndns.org. 1 IN PTR localhost. root IN CNAME localhost localhost. IN A 127.0.0.1 oh... and: /etc/host.conf # $FreeBSD: src/etc/host.conf,v 1.5.2.1 1999/08/29 14:18:44 peter Exp $ # First try the /etc/hosts file hosts # Now try the nameserver next. bind # If you have YP/NIS configured, uncomment the next line # nis /etc/hosts # $FreeBSD: src/etc/hosts,v 1.9.2.1 1999/08/29 14:18:44 peter Exp $ 127.0.0.1 myhost.dyndns.org localhost For the time being, I have disabled named (partly because of the latest security concerns about it) and put my ISP's nameservers in /etc/resolv.conf However, I'm still wondering which 'domain' to put into /etc/resolv.conf, since "myhost.dyndns.org" gives me: $ nslookup localhost Server: my.isp.org Address: 123.456.789.123 *** my.isp.org can't find localhost: Non-existent host/domain $ Thanks for any input or redirection. AnarCat. -- Si l'image donne l'illusion de savoir C'est que l'adage pretend que pour croire, L'important ne serait que de voir Lofofora To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14400.17989.189233.907961>