In Linux, does your hostname automatically map to your external IP?

I want to create a minecraft server for me and my friends to connect to (port 25565). I already use ddclient, which updates the external ip so that the data sent to the hostname is forwarded to the external IP.

I want to remove iptables because it is not going to help with anything suited for what I'm trying to do. Although, if I remove it is there any other way I can forward the traffic through my external IP? - Or would it forward by default? And may I add, I would not like to just set the default rule to ACCEPT all connections because this doesn't solve my issue.

I also know that if I keep Iptables, I will have to set up/modify an init script to update the rules every x minutes for the setup to work which will take even longer? But then I also realise that there for a reason - a firewall: To protect against hackers. Though, my ISP (Sky) does have a firewall that is default to BLOCK all connections, unless the port has been specified; in which I have forwarded the ports that are necessary for my server to run.

Would this be safe enough to run my server behind? And can I remove Iptables?

You're really doing some advanced stuff there -- over my head. Sorry if this isn't the exact answer you're looking for…

I just use MC Pro Hosting to host my server… I mean since you're doing all that other stuff you might not want to, but it's only $2.49 a month if you just wanna get a few people and play on a server together.

Here's a link to their site: .php? Aff=4890

Your external IP and host name are determined by your ISP and authoritative DNS server, not by your own Linux machine. The tone of your question implies that you do not understand this. You must establish your external IP address via the nameserver and ISP, not through configuration of your own machine.

You've got some proper answers in the Networking place where you asked this same question