DNS Zone Transfers to Secondary DNS Server

May 17, 2007

So this is the second time this has bitten me. I make sure I have everything setup properly so that I can transfer the DNS records from the primary DNS server to the secondary server. Everything is perfect right? I forget one last small detail. Not only do you need UDP port 53 open for DNS queries… but to do a zone transfer you also need TCP port 53 open as well.

Hopefully this post finds its way to another poor soul banging his head on his desk about the same thing.


Configuring Windows 2003 Firewall and IIS 6 for pasv ftp port range.

November 20, 2006

This has always been a pain for me to find online whenever I’m using the builtin Win 2k3 firewall and the builtin FTP server for IIS6. Almost every FTP client needs to run behind a firewall and use pasv FTP to connect to a server. So I thought I would post something for I can find later.

Here is a batch file (pasv.bat.txt) to do the work:


Echo OFF
ECHO ADDING PORT RANGE TO IIS
C:\Inetpub\AdminScripts\adsutil.vbs set /MSFTPSVC/PassivePortRange “5500-5550″

ECHO OPENING FIREWALL PORTS
FOR /L %%I IN (5500,1,5550) DO NETSH FIREWALL ADD PORTOPENING TCP %%I FTPPort%%I
iisreset
ECHO FINISHED
Pause