zone transfer

  • Thread starter Thread starter Charms Zhou
  • Start date Start date
C

Charms Zhou

When I set up a stand alone secdonary type DNS to transter zone from a
domain DNS server the error message is "zone not loaded by DNS server. The
DNS server encountered an error while attempting to load the zone.The
transfer of zone data from the master server failed.....". Can transfer zone
from a domain DNS server to a stand alone DNS server?
 
In
Charms Zhou said:
When I set up a stand alone secdonary type DNS to
transter zone from a domain DNS server the error message
is "zone not loaded by DNS server. The DNS server
encountered an error while attempting to load the
zone.The transfer of zone data from the master server
failed.....". Can transfer zone from a domain DNS server
to a stand alone DNS server?


Have you allowed zone transfers to all IP addresses on the secondary DNS?
This can happen if the machine that the secondary zone is on is multihomed
and you have not allow zone transfers to all IP addresses on the secondary
server.
 
Yes I allowed zone transfer to all IP address on the secondary DNS. The
status of the zone is expired.
 
Charms Zhou said:
Yes I allowed zone transfer to all IP address on the secondary DNS. The
status of the zone is expired.

That's backwards -- you must allow the transfer at the SOURCE
or Master, e.g., on the Primary you must allow transfer to all or
just to the specific (secondary) DNS server(so).

The secondary cannot give ITSELF permission -- the primary must
do that.

If you have set the Primary to allow transfers and it still doesn't
work, then look for firewall and routing issues.
 
In
Charms Zhou said:
Yes I allowed zone transfer to all IP address on the
secondary DNS. The status of the zone is expired.

Then you should verify connectivity exists between the two servers on 53 TCP
and UDP
 
The connection exists.I can let the secondary DNS server as a DNS client to
query DNS records on the master DNS server.If there is permission problem?
The master DNS server is a domain controller and the secondary DNS server is
a stand alone server. Suppose the domain is abc.com so I should set the
secondary zone as abc.com, right?

Thanks,
Charms
 
Charms Zhou said:
The connection exists.I can let the secondary DNS server as a DNS client to
query DNS records on the master DNS server.

That doesn't prove anything for ZONE TRANSFERS.

(Almost) all client requests are UDP while Zone transfers use TCP,
which is a completely different firewall/filter setting.

Second, zone transfers must be enable in general or to specific
request addresses even though a simple (resource record) request
is not so filter by the DNS server itself.

I.e., you can make resolution requests from a machine not
authorized to do zone transfers (in almost all cases unless an
additional firewall is involved.)
If there is permission problem?

No, not permissions in the sense of ACL/ACE's or authentication
in Windows.

Yes, perhaps, if you mean the "allow zone tranfers" which can
be totally disable, totally enabled (all addresses), or selectively
enabled for certain IP addresses (DNS zone properties.)
The master DNS server is a domain controller and the secondary DNS server is
a stand alone server.

It is irrelevant that the Master is a DC -- the key is the settings
for "allow zone transfers" on the Master.

And of course the firewall settings.

The only relevance of the DNS server being a stand alone server
(or member server, or BIND Unix server, really: NOT an AD-integrated
DNS server) is that the replication will not be done through AD and
will require both the settings for "allow zone transfers" on the Master
and intervening firewalls to allow them to talk on TCP port 53 (relative
to the Master).
Suppose the domain is abc.com so I should set the
secondary zone as abc.com, right?

Yes, as it would not be a secondary FOR THAT ZONE unless you did
that.

A "secondary DNS server" is really a "Secondary DNS server FOR a
PARTICULAR zone/domain."

The same server can be secondary for many zones, and even primary
for some zones and secondary for others, but you should always THINK
about and DESIGN DNS by thinking of only one zone/dna server at a
time.*

*Only real exception: When delegating a child zone you are working
IN the Parent zone, creating the delegation records for the child zone
DNS servers -- but again you really only think of one zone at a time and
each will have it's own set of DNS servers, Primary OR AD-Integrated
(Primary) set with optional Seconaries for THAT SPECIFIC zone.
 
I got it. Thanks very much! another question is can a stand alone computer
be registered to DC DNS server,stand alone DNS server and secondary DNS
server?
 
Charms Zhou said:
I got it. Thanks very much! another question is can a stand alone computer
be registered to DC DNS server,stand alone DNS server and secondary DNS
server?

"be registered to DC DNS server"?

The question is unclear.

1) Any machine can appear in any DNS server that is
authoritative (holds the zone file) for that zone.

2) Only a Primary or a DC-AD Integrated DNS server
can accept the registrations (Secondaries do zone
transfers from another of the DNS servers of that zone.)

3) Anything registered with the Master will get copied
to the other DNS servers of that zone (if replication works
at all.)

4) There is no requirement for either the (standard) Primary
or any Secondary to be a Windows machine or to be in the
domain.

[The Primary for a zone supporting Windows AD SHOULD
generally be a Windows 2000+ DNS server but that is not
required -- Dynamic DNS is required for the Primary and
SRV record support is required for all Secondaries.]

5) Only domain (or trusted domain) machines can register
if "secure updates only" are enabled -- i.e., the machine must
be authenticated to register itself.

This last, #5, is really the only true security (based on ACL/ACE
security principals) that exists in Windows DNS (and pretty much
in the other DNS servers.)
 
I created a primary DNS on a stand alone Windows2000 server. But no
WindowsXP client can register to it.I mean there is no any record but its
selft on the DNS server.I don't understand why.


Herb Martin said:
Charms Zhou said:
I got it. Thanks very much! another question is can a stand alone computer
be registered to DC DNS server,stand alone DNS server and secondary DNS
server?

"be registered to DC DNS server"?

The question is unclear.

1) Any machine can appear in any DNS server that is
authoritative (holds the zone file) for that zone.

2) Only a Primary or a DC-AD Integrated DNS server
can accept the registrations (Secondaries do zone
transfers from another of the DNS servers of that zone.)

3) Anything registered with the Master will get copied
to the other DNS servers of that zone (if replication works
at all.)

4) There is no requirement for either the (standard) Primary
or any Secondary to be a Windows machine or to be in the
domain.

[The Primary for a zone supporting Windows AD SHOULD
generally be a Windows 2000+ DNS server but that is not
required -- Dynamic DNS is required for the Primary and
SRV record support is required for all Secondaries.]

5) Only domain (or trusted domain) machines can register
if "secure updates only" are enabled -- i.e., the machine must
be authenticated to register itself.

This last, #5, is really the only true security (based on ACL/ACE
security principals) that exists in Windows DNS (and pretty much
in the other DNS servers.)
[/QUOTE]
 
Charms Zhou said:
I created a primary DNS on a stand alone Windows2000 server. But no
WindowsXP client can register to it.I mean there is no any record but its
selft on the DNS server.I don't understand why.

Did you allow it to accept "dynamic updates" (in the
zone properties)?

Can the Workstations FIND it?
(e.g., is it their ONLY DNS server?)

"Secure updates" are NOT an option for a non-DC DNS
server so that is not your problem.

--
Herb Martin

Herb Martin said:
Charms Zhou said:
I got it. Thanks very much! another question is can a stand alone computer
be registered to DC DNS server,stand alone DNS server and secondary DNS
server?

"be registered to DC DNS server"?

The question is unclear.

1) Any machine can appear in any DNS server that is
authoritative (holds the zone file) for that zone.

2) Only a Primary or a DC-AD Integrated DNS server
can accept the registrations (Secondaries do zone
transfers from another of the DNS servers of that zone.)

3) Anything registered with the Master will get copied
to the other DNS servers of that zone (if replication works
at all.)

4) There is no requirement for either the (standard) Primary
or any Secondary to be a Windows machine or to be in the
domain.

[The Primary for a zone supporting Windows AD SHOULD
generally be a Windows 2000+ DNS server but that is not
required -- Dynamic DNS is required for the Primary and
SRV record support is required for all Secondaries.]

5) Only domain (or trusted domain) machines can register
if "secure updates only" are enabled -- i.e., the machine must
be authenticated to register itself.

This last, #5, is really the only true security (based on ACL/ACE
security principals) that exists in Windows DNS (and pretty much
in the other DNS servers.)


--
Herb Martin

The connection exists.I can let the secondary DNS server as a DNS client
to
query DNS records on the master DNS server.

That doesn't prove anything for ZONE TRANSFERS.

(Almost) all client requests are UDP while Zone transfers use TCP,
which is a completely different firewall/filter setting.

Second, zone transfers must be enable in general or to specific
request addresses even though a simple (resource record) request
is not so filter by the DNS server itself.

I.e., you can make resolution requests from a machine not
authorized to do zone transfers (in almost all cases unless an
additional firewall is involved.)

If there is permission problem?

No, not permissions in the sense of ACL/ACE's or authentication
in Windows.

Yes, perhaps, if you mean the "allow zone tranfers" which can
be totally disable, totally enabled (all addresses), or selectively
enabled for certain IP addresses (DNS zone properties.)

The master DNS server is a domain controller and the secondary DNS server
is
a stand alone server.

It is irrelevant that the Master is a DC -- the key is the settings
for "allow zone transfers" on the Master.

And of course the firewall settings.

The only relevance of the DNS server being a stand alone server
(or member server, or BIND Unix server, really: NOT an AD-integrated
DNS server) is that the replication will not be done through AD and
will require both the settings for "allow zone transfers" on the Master
and intervening firewalls to allow them to talk on TCP port 53 (relative
to the Master).

Suppose the domain is abc.com so I should set the
secondary zone as abc.com, right?

Yes, as it would not be a secondary FOR THAT ZONE unless you did
that.

A "secondary DNS server" is really a "Secondary DNS server FOR a
PARTICULAR zone/domain."

The same server can be secondary for many zones, and even primary
for some zones and secondary for others, but you should always THINK
about and DESIGN DNS by thinking of only one zone/dna server at a
time.*

*Only real exception: When delegating a child zone you are working
IN the Parent zone, creating the delegation records for the child zone
DNS servers -- but again you really only think of one zone at a time and
each will have it's own set of DNS servers, Primary OR AD-Integrated
(Primary) set with optional Seconaries for THAT SPECIFIC zone.


--
Herb Martin


Thanks,
Charms


In Charms Zhou <[email protected]> commented
Then Kevin replied below:
Yes I allowed zone transfer to all IP address on the
secondary DNS. The status of the zone is expired.

Then you should verify connectivity exists between the two
servers
 
I got it. Restart the PC(DNS client),it is OK.Thanks a lot!



Herb Martin said:
Charms Zhou said:
I created a primary DNS on a stand alone Windows2000 server. But no
WindowsXP client can register to it.I mean there is no any record but its
selft on the DNS server.I don't understand why.

Did you allow it to accept "dynamic updates" (in the
zone properties)?

Can the Workstations FIND it?
(e.g., is it their ONLY DNS server?)

"Secure updates" are NOT an option for a non-DC DNS
server so that is not your problem.

--
Herb Martin

Herb Martin said:
I got it. Thanks very much! another question is can a stand alone computer
be registered to DC DNS server,stand alone DNS server and secondary DNS
server?

"be registered to DC DNS server"?

The question is unclear.

1) Any machine can appear in any DNS server that is
authoritative (holds the zone file) for that zone.

2) Only a Primary or a DC-AD Integrated DNS server
can accept the registrations (Secondaries do zone
transfers from another of the DNS servers of that zone.)

3) Anything registered with the Master will get copied
to the other DNS servers of that zone (if replication works
at all.)

4) There is no requirement for either the (standard) Primary
or any Secondary to be a Windows machine or to be in the
domain.

[The Primary for a zone supporting Windows AD SHOULD
generally be a Windows 2000+ DNS server but that is not
required -- Dynamic DNS is required for the Primary and
SRV record support is required for all Secondaries.]

5) Only domain (or trusted domain) machines can register
if "secure updates only" are enabled -- i.e., the machine must
be authenticated to register itself.

This last, #5, is really the only true security (based on ACL/ACE
security principals) that exists in Windows DNS (and pretty much
in the other DNS servers.)


--
Herb Martin




The connection exists.I can let the secondary DNS server as a DNS
client
to
query DNS records on the master DNS server.

That doesn't prove anything for ZONE TRANSFERS.

(Almost) all client requests are UDP while Zone transfers use TCP,
which is a completely different firewall/filter setting.

Second, zone transfers must be enable in general or to specific
request addresses even though a simple (resource record) request
is not so filter by the DNS server itself.

I.e., you can make resolution requests from a machine not
authorized to do zone transfers (in almost all cases unless an
additional firewall is involved.)

If there is permission problem?

No, not permissions in the sense of ACL/ACE's or authentication
in Windows.

Yes, perhaps, if you mean the "allow zone tranfers" which can
be totally disable, totally enabled (all addresses), or selectively
enabled for certain IP addresses (DNS zone properties.)

The master DNS server is a domain controller and the secondary DNS
server
is
a stand alone server.

It is irrelevant that the Master is a DC -- the key is the settings
for "allow zone transfers" on the Master.

And of course the firewall settings.

The only relevance of the DNS server being a stand alone server
(or member server, or BIND Unix server, really: NOT an
AD-integrated
DNS server) is that the replication will not be done through AD and
will require both the settings for "allow zone transfers" on the Master
and intervening firewalls to allow them to talk on TCP port 53 (relative
to the Master).

Suppose the domain is abc.com so I should set the
secondary zone as abc.com, right?

Yes, as it would not be a secondary FOR THAT ZONE unless you did
that.

A "secondary DNS server" is really a "Secondary DNS server FOR a
PARTICULAR zone/domain."

The same server can be secondary for many zones, and even primary
for some zones and secondary for others, but you should always
THINK
about and DESIGN DNS by thinking of only one zone/dna server at a
time.*

*Only real exception: When delegating a child zone you are working
IN the Parent zone, creating the delegation records for the child zone
DNS servers -- but again you really only think of one zone at a
time and
each will have it's own set of DNS servers, Primary OR
AD-Integrated
(Primary) set with optional Seconaries for THAT SPECIFIC zone.


--
Herb Martin


Thanks,
Charms


In Charms Zhou <[email protected]> commented
Then Kevin replied below:
Yes I allowed zone transfer to all IP address on the
secondary DNS. The status of the zone is expired.

Then you should verify connectivity exists between the two
servers
on
53
TCP
and UDP
 
Back
Top