|
|
|
|
||||||
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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. |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
> 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@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. |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
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"; |
|
![]() |
| Outils de la discussion | |
|
|