Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

dgrant

macrumors newbie
Original poster
Nov 28, 2011
5
0
Hello,

I am trying to set up BIND/named to host my own DNS. I appear to have a blocked port but ipfw is pleading innocent. I have set up a port forward ('virtual server') on my router; public port 53 to private port 53, TCP and UDP. I'm have turned the firewall off completely in the prefs panel.

Code:
/etc$ sudo ipfw list 
65535 allow ip from any to any 

/etc$ nc -vz x.x.x.x 53    (my external IP) 
^C    (hangs) 

/etc$ nc -vz 127.0.0.1 53 
Connection to 127.0.0.1 53 port [tcp/domain] succeeded!
Can anyone suggest what the next step to look at might be?

Thank you,
Darren
 

Alrescha

macrumors 68020
Jan 1, 2008
2,156
317
Is named actually listening on the external address?

netstat -an | grep LISTEN

A.
 

dgrant

macrumors newbie
Original poster
Nov 28, 2011
5
0
I got it sorted, thank you for the suggestions!

I have a modem, and a wifi router behind it. I was forwarding the port from the router to my Mac, but not from the modem to my router.

Cheers :)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.