A-records, but how to open ports?

janton

Verified User
Joined
Sep 17, 2009
Messages
145
Hello All,


I have to make a A-record on my website to use for a own written pc program.

I made a A record in my DNS and pointed to the desired IP adres.
This i named "test"
So i point my programe to my website: test.THISISMYSITE.com
Nothing... errors..

Than i thought maby it's because there is a firewall or some..
My program uses port 119

Do i have to open ports when i'm using a A-record?
How and where can i do this?
 
You are talking about two ,totally different, things.
A records are just pointers to your IP.

Ports are programs specific software (n computer networking, a port is an application-specific or process-specific software construct serving as a communications endpoint used by Transport Layer protocols of the Internet Protocol Suite such as Transmission Control Protocol (TCP) and User Datagram Protocol (UDP)
(from wikipedia)

So you have to open it , if it is closed, from your server's firewal
 
You are talking about two ,totally different, things.
A records are just pointers to your IP.

Ports are programs specific software (n computer networking, a port is an application-specific or process-specific software construct serving as a communications endpoint used by Transport Layer protocols of the Internet Protocol Suite such as Transmission Control Protocol (TCP) and User Datagram Protocol (UDP)
(from wikipedia)

So you have to open it , if it is closed, from your server's firewal


Yes i'm new to the server part and directadmin..

So i was telt to make a A-record I did this in DNS Management
Is this the right way?

You talk about the firewall, where can i find this?
Or do i have to do this true Putty..(SSH)
 
1. Yes that's right.

2. If you have eg. CSF installed you can find it in Admin's section of direct admin.
Otherwise you have to login as root (with putty) and to type this command :
iptables -I INPUT -p tcp --dport 119 -j ACCEPT
 
1. Yes that's right.

2. If you have eg. CSF installed you can find it in Admin's section of direct admin.
Otherwise you have to login as root (with putty) and to type this command :
iptables -I INPUT -p tcp --dport 119 -j ACCEPT

Ok thanks for the tip CSF, i will install this later.

Because i noticed my a records are not working.. (the two i created)
When i Ping them i get no respons....

Do i have to reboot the server after creating a A on my DNS?
I seem to do something wrong, but i can't find out what..
 
OK New post:

I found the solution..
I was a little bit stupide, my DNS was still hosted at my domain company..
So i have to make a NS on my server only i have 1 IP so than it's not possible i think! Well i will find out!

Thanks for the help and advice Massive!:)
 
Back
Top