Hi, I am digging on how to make home server. The home server is for Wireless AP, file server, samba and LAMP. The current progress is almost done but I can't solve this problem so far. I have 3 PCs. One is home server and the others(A, B) are WinXP. I have to know A's IP to access A because WinXP got dynamic IP from the Home Server. Is there any way to assign real name instead of IP. I am trying to use BIND like the below. After the configuration, nslookup said the names - bellevue, issaquah and sammanish - can't be found. I'd merely like to access PCs using real name. If you have any idea or information, please let me know. ---------------------------------------- /etc/named.conf zone "intranet" { type master; file "master/intranet.zone" } zone "0.168.192.IN-ADDR.ARPA" { type master; file "master/intranet.rev" } ---------------------------------------- /etc/master/intranet.zone @ IN SOA localhost. root.localhost. ( 20070628 ; Serial 3600 ; Refresh 900 ; Retry 3600000 ; Expire 3600 ) ; Minimum IN NS localhost. bellevue IN A 192.168.0.1 issaquah IN A 192.168.0.2 sammamish IN A 192.168.0.3 ---------------------------------------- /etc/master/intranet.rev $TTL 3600 @ IN SOA localhost. root.localhost. ( 20070628 ; Serial 3600 ; Refresh 900 ; Retry 3600000 ; Expire 3600 ) ; Minimum IN NS localhost. 1 IN PTR bellevue. 2 IN PTR issaquah. 3 IN PTR sammamish.
Yes, dns-server itself seems to work very well. when I query some public domains - google.com, yahoo.com -, the result is fine. but when I put zone files to /etc/namedb/named.conf, the domain is not resolved. One more thing, /etc/resolv.conf is changed whenever the server reboot because the server get dynamic IP from ISP. On 6/28/07, ait ^__~ <ait.meijin@gmail.com> wrote:> > If iget it correct - name resolving don't work at all. Is name resolving > works on dns-server itself? Maybe you want to check configs in your > /etc/resolv.conf file on your dns-server. > > 2007/6/29, Minseok Choi <eraser95@gmail.com>: > > > > Hi, I am digging on how to make home server. > > The home server is for Wireless AP, file server, samba and LAMP. > > The current progress is almost done but I can't solve this problem so > > far. > > > > I have 3 PCs. One is home server and the others(A, B) are WinXP. > > I have to know A's IP to access A because WinXP got dynamic IP from the > > Home > > Server. > > > > Is there any way to assign real name instead of IP. I am trying to use > > BIND > > like the below. > > After the configuration, nslookup said the names - bellevue, issaquah > > and > > sammanish - can't be found. > > I'd merely like to access PCs using real name. If you have any idea or > > information, please let me know. > > > > ---------------------------------------- > > /etc/named.conf > > > > zone "intranet" { > > type master; > > file "master/intranet.zone" > > } > > > > zone "0.168.192.IN-ADDR.ARPA" { > > type master; > > file "master/intranet.rev" > > } > > ---------------------------------------- > > /etc/master/intranet.zone > > @ IN SOA localhost. root.localhost. ( > > 20070628 ; Serial > > 3600 ; Refresh > > 900 ; Retry > > 3600000 ; Expire > > 3600 ) ; Minimum > > IN NS localhost. > > bellevue IN A 192.168.0.1 > > issaquah IN A 192.168.0.2 > > sammamish IN A 192.168.0.3 > > > > ---------------------------------------- > > /etc/master/intranet.rev > > > > $TTL 3600 > > > > @ IN SOA localhost. root.localhost . ( > > 20070628 ; Serial > > 3600 ; Refresh > > 900 ; Retry > > 3600000 ; Expire > > 3600 ) ; Minimum > > IN NS localhost. > > 1 IN PTR bellevue. > > 2 IN PTR issaquah. > > 3 IN PTR sammamish. > > _______________________________________________ > > freebsd-stable@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org > > " > > > >
-- snip bind question -- And how exactly is this related to FreeBSD -STABLE? I don't want to be picky, but asking bind questions on bind-specific mailing lists and not somewhere else is helpful to everybody. After all, someone else might have the same problem as you, and he/she probably won't search for bind-related problems on a FreeBSD list, thus not finding any helpful answers that might be given to you here. And no, the argument that your run your bind on a FreeBSD box doesn't count. That would be the same as asking a question about Photoshop in a Windows forum, just because you happen to run your Photoshop on a Windows box. And for all the people who answered this question, please don't do that anymore. The best thing, in my opinion, would be to privately ask the poster to repost to another, better suited mailing list. You can still be nice and answer the question, of course, but first advise the poster of where to ask next time. Minseok, please don't take this personal. I write similar messages every once in a while, this time it just happened to hit you. All I am trying to do is keeping the net a bit more sane. Thanks, Tobias