|
|
|
|
|
|
| Author |
Message |
Seeker *nix forums beginner
Joined: 21 Nov 2005
Posts: 21
|
Posted: Mon Jul 10, 2006 3:49 am Post subject:
Re: DNS zone transfers - which port?
|
|
|
Steve at fivetrees wrote:
| Quote: | Re open DNS lookups - I've turned off external recursive DNS, as generally
recommended. Is this the same thing?
|
Allowing recursive queries allows someone to lookup another domain
through your server, which shouldn't be necessary for the public unless
you're an ISP (although a surprising number of servers are misconfigured
this way).
Allowing zone xfers is something different. If you don't restrict zone
xfers someone can get a lot of information about hosts in your domain.
Some are misconfigured to show non-routable, internal hosts, which
allows for a form of network enumeration. |
|
| Back to top |
|
 |
Steve at fivetrees *nix forums addict
Joined: 21 May 2005
Posts: 82
|
Posted: Sat Jul 08, 2006 11:01 am Post subject:
Re: DNS zone transfers - which port?
|
|
|
"Seeker" <newsgroups@minusthespam.michaelstarks.com> wrote in message
news:gvFrg.70647$3B.36875@twister.nyroc.rr.com...
| Quote: | Steve at fivetrees wrote:
Am I right in thinking that each machine would need to accept this port
from the other? There are cases where the secondary asks the primary, and
others where the primary yells at the secondary, no?
The secondary will query the primary based on the refresh value in the
zone file. It checks to see if a serial number has incremented, and if it
has, it will perform a zone transfer from the primary. From the IP point
of view, you'll need 53 TCP/UDP allowed from the primary to the secondary,
but you'll probably also want to allow it to anyone so they can do DNS
lookups.
|
Noted; thanks. (I went through all this when converting from BIND4 to
BIND9 - but I seem to have re-used those braincells since...)
Re open DNS lookups - I've turned off external recursive DNS, as generally
recommended. Is this the same thing? I am running an authorative nameserver
for the domains I host, so clearly this needs to be accessible. But the logs
also show some strange stuff on port 53 such as:
| Quote: | Jul 8 10:18:30 ns1 named[26098]: FORMERR resolving 'caadm.com/AAAA/IN':
87.117.196.200#53
Jul 8 10:18:30 ns1 named[26098]: FORMERR resolving 'caadm.com/AAAA/IN': |
66.45.225.10#53 <<
Where "caadm.com" is nothing to do with me.
ISTR this has to do with IPV6, but I confess I'm not sure.
| Quote: | You can use the DNS server software, itself, to restrict zone transfers to
only allowed secondary and tertiary servers.
|
Yep, and I do .
Nice link - thanks.
Steve
http://www.fivetrees.com |
|
| Back to top |
|
 |
Seeker *nix forums beginner
Joined: 21 Nov 2005
Posts: 21
|
Posted: Sat Jul 08, 2006 3:19 am Post subject:
Re: DNS zone transfers - which port?
|
|
|
Steve at fivetrees wrote:
| Quote: | Am I right in thinking that each machine would need to accept this port from
the other? There are cases where the secondary asks the primary, and others
where the primary yells at the secondary, no?
|
The secondary will query the primary based on the refresh value in the
zone file. It checks to see if a serial number has incremented, and if
it has, it will perform a zone transfer from the primary. From the IP
point of view, you'll need 53 TCP/UDP allowed from the primary to the
secondary, but you'll probably also want to allow it to anyone so they
can do DNS lookups. You can use the DNS server software, itself, to
restrict zone transfers to only allowed secondary and tertiary servers.
This may clear some things up: http://howtoforge.net/traditional_dns_howto |
|
| Back to top |
|
 |
Steve at fivetrees *nix forums addict
Joined: 21 May 2005
Posts: 82
|
Posted: Thu Jul 06, 2006 1:33 pm Post subject:
Re: DNS zone transfers - which port?
|
|
|
"Peter N. M. Hansteen" <peter@bgnett.no> wrote in message
news:87r70ydieg.fsf@amidala.datadok.no...
| Quote: | "Steve at fivetrees" <steve@NOSPAMTAfivetrees.com> writes:
I'm tightening up the pf rules on my two coloco'ed machines. One is a
master
nameserver, the other a slave. I've searched for a clue re which port(s)
need to be enabled without success - would it be 53? Any others?
you would need port 53 (domain), tcp and udp.
|
Thanks. Nice to know I was not entirely clueless .
Am I right in thinking that each machine would need to accept this port from
the other? There are cases where the secondary asks the primary, and others
where the primary yells at the secondary, no?
Steve
http://www.fivetrees.com |
|
| Back to top |
|
 |
Peter N. M. Hansteen *nix forums addict
Joined: 19 Feb 2005
Posts: 86
|
Posted: Thu Jul 06, 2006 12:31 pm Post subject:
Re: DNS zone transfers - which port?
|
|
|
"Steve at fivetrees" <steve@NOSPAMTAfivetrees.com> writes:
| Quote: | I'm tightening up the pf rules on my two coloco'ed machines. One is a master
nameserver, the other a slave. I've searched for a clue re which port(s)
need to be enabled without success - would it be 53? Any others?
|
you would need port 53 (domain), tcp and udp.
--
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://www.blug.linux.no/rfc1149/ http://www.datadok.no/ http://www.nuug.no/
"First, we kill all the spammers" The Usenet Bard, "Twice-forwarded tales"
20:11:56 delilah spamd[26905]: 146.151.48.74: disconnected after 36099 seconds |
|
| Back to top |
|
 |
Steve at fivetrees *nix forums addict
Joined: 21 May 2005
Posts: 82
|
Posted: Thu Jul 06, 2006 12:26 pm Post subject:
DNS zone transfers - which port?
|
|
|
I'm tightening up the pf rules on my two coloco'ed machines. One is a master
nameserver, the other a slave. I've searched for a clue re which port(s)
need to be enabled without success - would it be 53? Any others?
All cluesticks gratefully received. I'm fairly sure the answer must be
obvious, yet I've missed it somehow...
Steve
http://www.fivetrees.com |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Sat Nov 22, 2008 7:53 am | All times are GMT
|
|
Advertising | Jorge Bucay | Debt Consolidation | Cheap Loan | Loans
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|