Hi, I have setup Virtualmin on my dedicated server and got all the DNS working right (I think).
Anyways, i have this issue, i am not able to ping my dedicated server from my house, when i ping power-gaming.win i get timeout, but when i connect into ssh and ping the domain, i get the domain with the correct ip address assigned to it. Now i have Firewalld up and running all the ports open and tried to ping the domain name from my house, still not pingable - so i disable the firewalld and tried it again, still can't ping the domain from my home. when I type in https://power-gaming.win:10000 i get this,
Hmm. We’re having trouble finding that site.
We can’t connect to the server at power-gaming.win.
Though when I type in https://158.69.243.125:10000 it does work, and i can be able to ping it from home also. I did with both IP Addresses and they work internally and externally.
i did a dig power-gaming.win here is the request in return.
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;power-gaming.win. IN A
;; ANSWER SECTION:
power-gaming.win. 3600 IN A 158.69.243.125
;; AUTHORITY SECTION:
power-gaming.win. 3600 IN NS ns1.power-gaming.win.
power-gaming.win. 3600 IN NS ns2.power-gaming.win.
;; ADDITIONAL SECTION:
ns1.power-gaming.win. 3600 IN A 158.69.243.125
ns2.power-gaming.win. 3600 IN A 158.69.243.125 (I fixed this with the correct IP to 192.99.27.206)
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Sun Jan 21 22:40:21 EST 2018
;; MSG SIZE rcvd: 129
when i do netstat -ltnp I get:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:10023 0.0.0.0:* LISTEN 14471/postgrey.pid
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 7168/mysqld
tcp 0 0 127.0.0.1:11211 0.0.0.0:* LISTEN 19908/memcached
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 8884/dovecot
tcp 0 0 0.0.0.0:2222 0.0.0.0:* LISTEN 1975/proftpd: (acce
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 1/init
tcp 0 0 127.0.0.1:783 0.0.0.0:* LISTEN 6701/spamassassin.p
tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTEN 31898/perl
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 1975/proftpd: (acce
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 18583/named
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1547/sshd
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 934/cupsd
tcp 0 0 127.0.0.1:11000 0.0.0.0:* LISTEN 10388/lookup-domain
tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 18583/named
tcp 0 0 0.0.0.0:20000 0.0.0.0:* LISTEN 1946/perl
tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN 1/init
tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN 8884/dovecot
tcp6 0 0 ::1:10023 :::* LISTEN 14471/postgrey.pid
tcp6 0 0 :::110 :::* LISTEN 8884/dovecot
tcp6 0 0 :::143 :::* LISTEN 1/init
tcp6 0 0 ::1:783 :::* LISTEN 6701/spamassassin.p
tcp6 0 0 :::10000 :::* LISTEN 31898/perl
tcp6 0 0 :::80 :::* LISTEN 2730/fcgi-pm
tcp6 0 0 ::1:53 :::* LISTEN 18583/named
tcp6 0 0 :::22 :::* LISTEN 1547/sshd
tcp6 0 0 ::1:631 :::* LISTEN 934/cupsd
tcp6 0 0 ::1:953 :::* LISTEN 18583/named
tcp6 0 0 :::443 :::* LISTEN 2730/fcgi-pm
tcp6 0 0 :::993 :::* LISTEN 1/init
tcp6 0 0 :::995 :::* LISTEN 8884/dovecot
when i use tail -f /var/log/syslog i do not get any errors. i checked the /var/log/virtualmin for errors and i get CA Cert Errors, but it doesn't tell me why i cannot ping the domain name from my home.
Here is my DNS Records:
$ttl 3600
@ IN SOA ns1.power-gaming.win. root.ns1.power-gaming.win. (
1516520697
10800
3600
604800
38400 )
power-gaming.win. 3600s IN NS ns1.power-gaming.win.
power-gaming.win. 3600s IN NS ns2.power-gaming.win.
power-gaming.win. 3600s IN A 158.69.243.125
www.power-gaming.win. 3600s IN A 158.69.243.125
ftp.power-gaming.win. 3600s IN A 158.69.243.125
usermin.power-gaming.win. 3600s IN A 158.69.243.125
ns1.power-gaming.win. 3600s IN A 158.69.243.125
ns2.power-gaming.win. 3600 IN A 192.99.27.206
localhost.power-gaming.win. IN A 127.0.0.1
forums.power-gaming.win. 3600s IN A 158.69.243.125
gamepanel.power-gaming.win. 3600s IN A 158.69.243.125
mail.power-gaming.win. 3600s IN A 158.69.243.125
imap.power-gaming.win. 3600s IN A 158.69.243.125
smtp.power-gaming.win. 3600s IN A 158.69.243.125
power-gaming.win. 3600s IN MX 10 mail.power-gaming.win.
power-gaming.win. 3600s IN MX 10 smtp.power-gaming.win.
power-gaming.win. 3600s IN MX 10 imap.power-gaming.win.
power-gaming.win. 3600s IN TXT "v=spf1 a mx a:power-gaming.win ip4:158.69.243.125 ip4:158.69.243.125 ip6:2607:5300:0120:037d:: ?all"
I think i did everything these past hours getting it to work, just not working for me, so i am asking for your help to help me pick my brain. Thanks, Rikor420
Howdy,
Hmm, I don't seem to be able to do a DNS lookup on your domain.
However, if I telnet to any of the ports on the IP address you shared above, I can access the ports.
I think the issue to solve is to determine why these DNS lookups aren't working -- you can see the issue by going to this site here:
https://intodns.com/power-gaming.win
You'd want to be sure that BIND is listening on port 53 UDP.
Also, if your server is behind a NAT router, be sure that port 53 UDP is being forwarded to your server from the router.
-Eric
Also if using csf or other firewall port 53 is not everytime default open for the dns... you sure you opened all ports for testing.
But thats is not the problem here, so only for other readers finding this, port 53 udp has to be open in firewall. You have nameserver problem as andreychek pointed out in link
Ok will check once again on the Port 53, and let you know.
ok i opened up port 53/udp. I noticed when i opened up 53 it points to 127.0.0.1:53 < = is this correct? my host is
127.0.1.1 power-gaming.win power-gaming
127.0.0.1 localhost.localdomain localhost
158.69.243.125 power-gaming.win power-gaming
it this correct?