Welcome to WinForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Linux/BIND as secondary DNS with W2k3 primary - zone trans..

 
   Win 2000/NT/98/ME (Home) -> DNS RSS
Next:  google  
Author Message
Petr Laznovsky

External


Since: Sep 13, 2005
Posts: 2



(Msg. 1) Posted: Fri Oct 20, 2006 4:55 pm
Post subject: Linux/BIND as secondary DNS with W2k3 primary - zone transfer troubles
Archived from groups: microsoft>public>win2000>dns (more info?)

I have w2k3 DNS service to handle my intranet DNS zone xxxxx.yyy Want to
use Linux/BIND 9.x as secondary, but zone was not transfered
succesfully. I have allowed zone transfers in zone properties and only
allowed server is IP address of this linux machine. Remote IP is
pingable, TCP port 53 is accessible on both machines.

On linux machine we got this message:

---------------------------------------

doma@doma:~$ ; Transfer failed.
bash: syntax error near unexpected token `;'
doma@doma:~$ host -l xxxx.yyy 1.2.3.4
Using domain server:
Name: 1.2.3.4
Address: 1.2.3.4#53
Aliases:

Host xxxx.yyy not found: 5(REFUSED)
; Transfer failed.

----------------------------------------

I have created dump of my zone:

----------------------------------------

c:\Program Files\Support Tools>dnscmd /zoneinfo xxxx.yyy
Zone query result:
Zone info:
ptr = 00082FE8
zone name = xxxx.yyy
zone type = 1
update = 1
DS integrated = 0
data file = xxxx.yyy.dns
using WINS = 0
using Nbstat = 0
aging = 1
refresh interval = 168
no refresh = 168
scavenge available = 3557270
Zone Masters
NULL IP Array.
Zone Secondaries
Addr Count = 1
Secondary[0] => 1.2.3.4
secure secs = 2
Command completed successfully.

--------------------------------------

Linux machine is already configured as secondary for many (linux only)
servers, and run OK for long time a go.

What is wrong in my case?

P.L.

 >> Stay informed about: Linux/BIND as secondary DNS with W2k3 primary - zone trans.. 
Back to top
Login to vote
Kurt

External


Since: Apr 23, 2005
Posts: 91



(Msg. 2) Posted: Fri Oct 20, 2006 6:42 pm
Post subject: Re: Linux/BIND as secondary DNS with W2k3 primary - zone transfer troubles [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

> bash: syntax error near unexpected token `;'

Looks like a syntax error in a script or maybe your named.conf. Don't know
why bash is reporting the error.

....kurt


"Petr Laznovsky" <nobody.RemoveThis@nowhere.com> wrote in message
news:e$9Ol5H9GHA.1560@TK2MSFTNGP04.phx.gbl...
>I have w2k3 DNS service to handle my intranet DNS zone xxxxx.yyy Want to
>use Linux/BIND 9.x as secondary, but zone was not transfered succesfully. I
>have allowed zone transfers in zone properties and only allowed server is
>IP address of this linux machine. Remote IP is pingable, TCP port 53 is
>accessible on both machines.
>
> On linux machine we got this message:
>
> ---------------------------------------
>
> doma@doma:~$ ; Transfer failed.
> bash: syntax error near unexpected token `;'
> doma@doma:~$ host -l xxxx.yyy 1.2.3.4
> Using domain server:
> Name: 1.2.3.4
> Address: 1.2.3.4#53
> Aliases:
>
> Host xxxx.yyy not found: 5(REFUSED)
> ; Transfer failed.
>
> ----------------------------------------
>
> I have created dump of my zone:
>
> ----------------------------------------
>
> c:\Program Files\Support Tools>dnscmd /zoneinfo xxxx.yyy
> Zone query result:
> Zone info:
> ptr = 00082FE8
> zone name = xxxx.yyy
> zone type = 1
> update = 1
> DS integrated = 0
> data file = xxxx.yyy.dns
> using WINS = 0
> using Nbstat = 0
> aging = 1
> refresh interval = 168
> no refresh = 168
> scavenge available = 3557270
> Zone Masters
> NULL IP Array.
> Zone Secondaries
> Addr Count = 1
> Secondary[0] => 1.2.3.4
> secure secs = 2
> Command completed successfully.
>
> --------------------------------------
>
> Linux machine is already configured as secondary for many (linux only)
> servers, and run OK for long time a go.
>
> What is wrong in my case?
>
> P.L.

 >> Stay informed about: Linux/BIND as secondary DNS with W2k3 primary - zone trans.. 
Back to top
Login to vote
Kurt

External


Since: Apr 23, 2005
Posts: 91



(Msg. 3) Posted: Fri Oct 20, 2006 6:50 pm
Post subject: Re: Linux/BIND as secondary DNS with W2k3 primary - zone transfer troubles [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Here's a named.conf that works for me:

//
// named.conf for slave zones transferring from Server2003 AD-integrated
zones.
//

options {
directory "/var/named";
};

controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};

zone "." {
type hint;
file "named.ca";
};

zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
};

zone "test.local" IN {
type master;
file "test.local.dns";
};

zone "mydomain149." {
type slave;
file "mydomain149.dns";
masters { 10.0.0.74; };
};

zone "mydomain151." {
type slave;
file "mydomain151.dns";
masters { 10.0.0.74; };
};

zone "mydomain.148." {
type slave;
file "mydomain.dns";
masters { 10.0.0.74; };
};

include "/etc/rndc.key";
 >> Stay informed about: Linux/BIND as secondary DNS with W2k3 primary - zone trans.. 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
change from bind secondary to ad intergrated - I have several zones that I have slaved to my windows DNS servers. I would now like to make them responsible for the zones. If I convert them to just Primary zones, no problems. But if i try to use AD intergrated I get, sorry can't remember the exac...

TCP/IP for Primary/Secondary DNS - Hi , I have 2 DNS Servers - acting as Primary and Secondary (both Active Directory integrated). What should be the correct TCPIP (DNS) configuration of each server? Should the DNS be pointing to itself with peer as the secondary? I read from ..

Primary/Secondary DNS Issue - Hello -- I'm trying to set up a standalone (non-Active Directory) DNS server on my companies Intranet using W2K for our customers to use to access our internal production servers... mainly web severs, SQL Servers, etc. Essentially, I have a primary..

Change from Primary to Secondary - I have ended up with two Primary AD integrated servers on my network. I would like to demote one of the servers to secondary. Is this possible, and is their more to it than just changing the server type? Thanks

Primary DNS Fails Shortly when Secondary is down - We have 2 DNS servers a primary and a secondary running standalone on windows 2000 server. There is no Active Directory Involved. We are simply using these to provide zone records for domains for websites and email. A few days ago our secondary DNS..
   Win 2000/NT/98/ME (Home) -> DNS All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum

Categories:
 Windows XP
 Windows Vista!
  Win 2000/NT/98/ME


[ Contact us | Terms of Service/Privacy Policy ]