Trying to setup a local DNS.
Kevin Darcy
kcd at daimlerchrysler.com
Thu Nov 7 19:05:47 UTC 2002
David H wrote:
> This is what in my server. And mydomain is also
> registered DNS with dev.mydomain.com as a A record
> and MX record. My other worksstation only has one DNS
> entry that is 10.6.11.5. I tried to ping
> test.mydomain.com it does not work.
>
> My localhost.zone
> ------------------ begin --------------
> $TTL 86400
> $ORIGIN localhost.
> @ IN SOA mydomain.com.
> webmaster.mydomain.com. (
> 2002110101
> ; serial (d. adams)
> 3H
> ; refresh
> 15M
> ; retry
> 1W
> ; expiry
> 1D )
> ; minimum
>
> localhost. IN NS dev.mydomain.com.
>
> IN A 127.0.0.1
>
> ------------------ end -----------------
>
> My ARPA file name "127.0.0"
> ------------------- begin -------------
> $TTL 86400
> @ IN SOA mydomain.com.
> webmaster.mydomain.com. (
> 2002110101 ;
> Serial
> 28800 ;
> Refresh
> 14400 ;
> Retry
> 3600000 ;
> Expire
> 86400 ) ;
> Minimum
> 0.0.127.in-addr.arpa. IN NS
> dev.mydomain.com.
>
> 1.0.0.127.in-addr.arpa. IN PTR
> localhost.
>
> ------------------ end ----------------
>
> My mydomain.zone
> ---------------- begin -----------------
> $TTL 3D
> @ IN SOA mydomain.com.
> webmaster.mydomain.com. (
> 2002110101 ;
> Serial
> 8H ; Refresh
> 2H ; Retry
> 4W ; Expire
> 1D) ; Minimum
> TTL
>
> mydomain.com. NS dev.mydomain.com.
>
> mydomain.com. MX 10 dev.mydomain.com.
> TXT "This is my
> domain"
>
> localhost IN A 127.0.0.1
>
> dev.mydomain.com. IN A 10.6.11.5
>
> test.mydomain.com. IN CNAME dev.mydomain.com.
>
> ---------------- end --------------------------
>
> my ARPA file name "10.6.11"
> --------------- begin -------------------------
> $TTL 3D
> @ IN SOA mydomain.com.
> webmaster.mydomain.com. (
> 2002110102 ; Serial,
> todays date + todays serial
> 8H ; Refresh
> 2H ; Retry
> 4W ; Expire
> 1D) ; Minimum TTL
> 11.6.10.in-addr.arpa IN NS
> dev.mydomain.com.
> IN MX
> dev.mydomain.com.
> 5.11.6.10.in-addr.arpa. IN PTR
> dev.mydoamin.com.
> --------------- end ------------------------------
>
> Thanks
> David
>
> --- Kevin Darcy <kcd at daimlerchrysler.com> wrote:
> >
> > David H wrote:
> >
> > > Hi All,
> > >
> > > I have registered my domain with register.com and
> > with
> > > a mydomain.com and A "A Record" host.mydomain.com
> > and
> > > A MX Record host.mydomain.com. Then I set up my
> > DNS on
> > > my local server with a makeup ip 10.20.25.1 point
> > to
> > > host.mydomain.com. My workstation is using
> > 10.20.25.1
> > > as the primary DNS only. But it still using my
> > > internet ipaddress when I ping it even I do not
> > have
> > > the forward first entry comment out at option.
> >
> > a) Please post your named.conf and zonefiles
> >
> > b) Turn on query logging and confirm that the
> > workstation is actually
> > using the local server to resolve DNS.
Those look somewhat reasonable. What does the named.conf look like?
- Kevin
More information about the bind-users
mailing list