Re: BIND Configuration
On Friday 29 June 2007 16:37:34 Tobias Roth wrote: > Doug Barton wrote: > > [EMAIL PROTECTED] wrote: > >> -- snip bind question -- > >> > >> And how exactly is this related to FreeBSD -STABLE? > > > > There is a tradition of answering basic SA questions on our lists, > > whether they are directly relevant to the list topic or not. If things > > get too far off base, users are generally directed to a more > > topic-specific list. I don't see any reason to alter that tradition. > > All right, I'll respect that and will refrain from sending similar > messages in the future. My apologies to Minseok. > > For the record, I was sending a polite message explaining my point, > which the above short quote fails to reflect. I just don't want people > that didn't read my previous message to think I am a rude grumbler :-) > heart-breaking ... guess Doug did in your favor cutting the not so polite stuff ;) -- João A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: BIND Configuration
Doug Barton wrote: > [EMAIL PROTECTED] wrote: >> -- snip bind question -- >> >> And how exactly is this related to FreeBSD -STABLE? > > There is a tradition of answering basic SA questions on our lists, > whether they are directly relevant to the list topic or not. If things > get too far off base, users are generally directed to a more > topic-specific list. I don't see any reason to alter that tradition. All right, I'll respect that and will refrain from sending similar messages in the future. My apologies to Minseok. For the record, I was sending a polite message explaining my point, which the above short quote fails to reflect. I just don't want people that didn't read my previous message to think I am a rude grumbler :-) Thanks, Tobias ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: BIND Configuration
[EMAIL PROTECTED] wrote: > -- snip bind question -- > > And how exactly is this related to FreeBSD -STABLE? There is a tradition of answering basic SA questions on our lists, whether they are directly relevant to the list topic or not. If things get too far off base, users are generally directed to a more topic-specific list. I don't see any reason to alter that tradition. Doug -- This .signature sanitized for your protection ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: BIND Configuration
On Fri, 29 Jun 2007, Torfinn Ingolfsen wrote: > On Thu, 28 Jun 2007 23:17:59 -0700 > Jeremy Chadwick <[EMAIL PROTECTED]> wrote: > > > Pick a "fake domain" for yourself (such as home.lan or something that > > won't be used on the Internet; a fake TLD is the way to go). > > FWIW, '.local' is preferred by many these days. Example: > machine.mydomain.local Off-topic, but this is a bad idea if you intend to run mDNS, also known as Rendezvous/Bonjour (Rendejour!) or Avahi, on your network. See http://www.avahi.org/wiki/AvahiAndUnicastDotLocal for more. David Adam [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: BIND Configuration
-- 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 ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: BIND Configuration
On Thu, 28 Jun 2007 23:17:59 -0700 Jeremy Chadwick <[EMAIL PROTECTED]> wrote: > Pick a "fake domain" for yourself (such as home.lan or something that > won't be used on the Internet; a fake TLD is the way to go). FWIW, '.local' is preferred by many these days. Example: machine.mydomain.local HTH -- Regards, Torfinn Ingolfsen, Norway ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: BIND Configuration
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 29 Jun 2007 16:18+1000, Mark Andrews wrote: > > > > > > > > /etc/master/intranet.rev > > > > > > > > $TTL3600 > > > > > > > > @ IN SOA localhost. root.localhost . ( > > > >20070628; Serial > > > >3600; Refresh > > > >900 ; Retry > > > >360 ; Expire > > > >3600 ) ; Minimum > > > >IN NS localhost. > > > > 1 IN PTR bellevue. > > > > 2 IN PTR issaquah. > > > > 3 IN PTR sammamish. > > These should be "bellevue.intranet", etc. More like this, I gather: bellevue.intranet. <-- notice the final dot . - -- - -- Trond Endrestøl | [EMAIL PROTECTED] Patron of The Art of Computer Programming| FreeBSD 6.2-S & Pine 4.64 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGhLclbYWZalUoElsRAuBQAJ9csc6GHXWp5dC0Vt+Vk9ZeeZZvjwCeP5IE 8RnBjTBAydDr22McyeSKbCA= =riR9 -END PGP SIGNATURE-___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: BIND Configuration
> 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. What is your search path (resolv.conf)? Note dhclient.conf controls this if you get your addresses via dhcp. > One more thing, /etc/resolv.conf is changed whenever the server reboot > because the server get dynamic IP from ISP. Assuming DHCP look at dhclient.conf. e.g. interface "sis0" { supersede domain-name "dv.isc.org isc.org"; prepend domain-name-servers 127.0.0.1; } > On 6/28/07, ait ^__~ <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>: > > > > > > 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 > > >360 ; 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 > > > > > > $TTL3600 > > > > > > @ IN SOA localhost. root.localhost . ( > > >20070628; Serial > > >3600; Refresh > > >900 ; Retry > > >360 ; Expire > > >3600 ) ; Minimum > > >IN NS localhost. > > > 1 IN PTR bellevue. > > > 2 IN PTR issaquah. > > > 3 IN PTR sammamish. These should be "bellevue.intranet", etc. > > > ___ > > > freebsd-stable@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > > > To unsubscribe, send any mail to "[EMAIL PROTECTED] > > > " > > > > > > > > ___ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: BIND Configuration
On Thu, Jun 28, 2007 at 11:01:00PM -0700, Minseok Choi wrote: > 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. Okay, so your FreeBSD box is also acting as a router. You should therefore set up BIND/named locally, and tell dhclient (or whatever you're using to fetch an IP address from your ISP) to **not** modify resolv.conf. Make note of what those nameserver IPs are though, you'll need them below. Pick a "fake domain" for yourself (such as home.lan or something that won't be used on the Internet; a fake TLD is the way to go). Make sure your machine name is set in rc.conf to a FQDN, such as myboxname.home.lan. You can set this without rebooting by doing (as root) "hostname myboxname.home.lan". Next, you should go into /etc/namedb and run "sh make-localhost" as root. If you've done this in the past, you should do a rm /etc/namedb/master/localhost-v6.rev /etc/namedb/master/localhost.rev first. In your named.conf, you'll claim to be authoritative for home.lan and declare it as such via a zone "home.lan" {} container. See below. Finally, you should declare a list of forwarders in options {} which your nameserver will forward all recursive DNS queries through (it will still answer for anything it claims to be authoritative for, such as home.lan). DO NOT use "forward only". Example (taken from my own setup at home, where 192.168.1.51 *is not* a router, but if it was, I'd tell dhclient or whatever *not* to modify resolv.conf :-) ): /etc/rc.conf hostname="icarus.home.lan" ifconfig_nve0="inet 192.168.1.51 netmask 255.255.255.0" defaultrouter="192.168.1.1" /etc/hosts == 127.0.0.1 localhost localhost.home.lan 192.168.1.51icarus.home.lan icarus /etc/resolv.conf search home.lan nameserver 127.0.0.1 /etc/namedb/namedb.conf === options { /* Some stuff removed from here; doesn't apply to you :) */ forwarders { 206.13.28.12; 206.13.29.12; }; }; zone "home.lan" { type master; file "master/zone.home.lan"; }; zone "1.168.192.in-addr.arpa" { type master; file "master/zone.192.168.1"; }; /etc/namedb/master/zone.home.lan $TTL3600 @ IN SOA icarus.home.lan. root.icarus.home.lan. ( 2007052501 ; Serial 3600; Refresh 900 ; Retry 360 ; Expire 3600 ) ; Minimum IN NS icarus.home.lan. IN MX 10 icarus.home.lan. icarus IN A192.168.1.51 /etc/namedb/master/zone.192.168.1 = $TTL3600 @ IN SOA icarus.home.lan. root.icarus.home.lan. ( 2005122608 ; Serial 3600; Refresh 900 ; Retry 360 ; Expire 3600 ) ; Minimum IN NS icarus.home.lan. 51 IN PTR icarus.home.lan. -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: BIND Configuration
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 ^__~ <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>: > > 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 >360 ; 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 > > $TTL3600 > > @ IN SOA localhost. root.localhost . ( >20070628; Serial >3600; Refresh >900 ; Retry >360 ; 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 "[EMAIL PROTECTED] > " > ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
BIND Configuration
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 360 ; 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 $TTL3600 @ IN SOA localhost. root.localhost. ( 20070628; Serial 3600; Refresh 900 ; Retry 360 ; 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 "[EMAIL PROTECTED]"