Re: what is wrong with this?

This is a discussion on Re: what is wrong with this? within the Bind Users forums, part of the DNS and Related Forums category; In article <cvap3q$1hbs$1@sf1.isc.org>, "ozi" <oguz@ce.yildiz.edu.tr> ...


Go Back   Usenet Forums > DNS and Related Forums > Bind Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2005
Barry Margolin
 
Posts: n/a
Default Re: what is wrong with this?

In article <cvap3q$1hbs$1@sf1.isc.org>, "ozi" <oguz@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@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:31 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0