what is wrong with this?
Barry Margolin
barmar at alum.mit.edu
Sun Feb 20 21:34:01 UTC 2005
In article <cvap3q$1hbs$1 at sf1.isc.org>, "ozi" <oguz at ce.yildiz.edu.tr>
wrote:
> I need to set up a dns to try an app. Since I don't have an actual
> domain name, I want to set up a bogus domain name "ozi.ozan" to my
> localhost with the help of bind running also on my localhost. Since
> everything is in the localhost, everything should work, but it doesn't.
>
>
> As I am new to this, I used webmin to modify the conf files that come
> with apt-get (debian testing): I looked documentation but I can't see
> a problem with these... Could you take a look at it? thx.
Are there any errors in the log messages from named when it starts up?
>
> -----------/etc/bind/name.conf.local
> zone "ozan" {
> type master;
> file "/etc/bind/ozan.hosts";
> };
>
> ---------------/etc/bind/ozan.hosts
> $ttl 38400
> ozan. IN SOA ozi. admin.ozan. (
> 1108949011
> 10800
> 3600
> 604800
> 38400 )
> ozan. IN NS ozi
> ozi.ozan. IN A 127.0.0.1
>
> ------------------/etc/resolve.conf
The correct filename should be /etc/resolv.conf -- no "e" at the end of
"resolv".
> nameserver 127.0.0.1
> nameserver real-dns-server-ip-erased-here
> nameserver real-dns-server-ip-erased-here
>
> -------------------/et/named.conf
> include "/etc/bind/named.conf.options";
> zone "." {
> type hint;
> file "/etc/bind/db.root";
> };
> zone "localhost" {
> type master;
> file "/etc/bind/db.local";
> };
> zone "127.in-addr.arpa" {
> type master;
> file "/etc/bind/db.127";
> };
> zone "0.in-addr.arpa" {
> type master;
> file "/etc/bind/db.0";
> };
> zone "255.in-addr.arpa" {
> type master;
> file "/etc/bind/db.255";
> };
> include "/etc/bind/named.conf.local";
--
Barry Margolin, barmar at alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
More information about the bind-users
mailing list