- Joined
- Sep 8, 2009
- Messages
- 1,128
- Reaction score
- 1
Hey Team,
Ok, here is the main issue that leads to the main question:
I have CSF firewall running. Within csf there is an area where I can enter a dyndns name for allowing all dyndns names thriugh to the underlying server (Elastix). The problem is none of my dns names are passing. I know, wait for it.....I submitted a question to the csf forum explaining what I had found and they returned an answer of the following: "That suggests either a problem with the DNS resolvers on the server, slow DNS resolvers, or with the DNS configuration of the FQDN, neither of which are anything to do with the csf configuration."
So in checking the resolv.conf file I find that it only has to nameservers, my primary name server and of course google's name server as secondary. As shown here:
; generated by /usr/share/elastix/privileged/netconfig
nameserver XXX.XXX.XXX.XXX
nameserver 8.8.8.8
So my question is: Should it not have the following within the resolv.conf file?
domain mydomain.com
search mydomain.com
nameserver zz.zz.aa.bb
nameserver zz.zz.e.f
and if this file is generated by /usr/share/elastix/privileged/netconfig will changing it then be overwritten again on reboot?
If I understand the way the dyndns works csf correctly, that it allows me to gain access to the server from any IP address as long as I use my dyndns name:
I ran the following from cmd line: iptables -L ALLOWDYNIN -nv
and it returned:
> iptables -L ALLOWDYNIN -nv
Chain ALLOWDYNIN (1 references)
pkts bytes target prot opt in out source destination
0 0 ACCEPT udp -- !lo * XXX.XXX.XXX.XXX 0.0.0.0/0 udp dpts:5060:5065
0 0 ACCEPT udp -- !lo * XXX.XXX.XXX.XXX 0.0.0.0/0 udp dpts:10000:20000
0 0 ACCEPT tcp -- !lo * XXX.XXX.XXX.XXX 0.0.0.0/0 tcp dpt:443
can anyone tell what is missing here? The source address is my static IP, but I see nothing under "destination", should there not be something there?
The I ran the following from cmd line: host mydomain.ddns.net
and it returned the following:
> host xxxxxxxxxx.ddns.net
bash: host: command not found
so I am assuming I have to install some tools in order to run this command under Centos?
Any help or suggestions would be great as I have beat my head against the wall now for several months trying to get this to work and have been very unsuccessful in doing so.
Thanks team,
amphibian
Ok, here is the main issue that leads to the main question:
I have CSF firewall running. Within csf there is an area where I can enter a dyndns name for allowing all dyndns names thriugh to the underlying server (Elastix). The problem is none of my dns names are passing. I know, wait for it.....I submitted a question to the csf forum explaining what I had found and they returned an answer of the following: "That suggests either a problem with the DNS resolvers on the server, slow DNS resolvers, or with the DNS configuration of the FQDN, neither of which are anything to do with the csf configuration."
So in checking the resolv.conf file I find that it only has to nameservers, my primary name server and of course google's name server as secondary. As shown here:
; generated by /usr/share/elastix/privileged/netconfig
nameserver XXX.XXX.XXX.XXX
nameserver 8.8.8.8
So my question is: Should it not have the following within the resolv.conf file?
domain mydomain.com
search mydomain.com
nameserver zz.zz.aa.bb
nameserver zz.zz.e.f
and if this file is generated by /usr/share/elastix/privileged/netconfig will changing it then be overwritten again on reboot?
If I understand the way the dyndns works csf correctly, that it allows me to gain access to the server from any IP address as long as I use my dyndns name:
I ran the following from cmd line: iptables -L ALLOWDYNIN -nv
and it returned:
> iptables -L ALLOWDYNIN -nv
Chain ALLOWDYNIN (1 references)
pkts bytes target prot opt in out source destination
0 0 ACCEPT udp -- !lo * XXX.XXX.XXX.XXX 0.0.0.0/0 udp dpts:5060:5065
0 0 ACCEPT udp -- !lo * XXX.XXX.XXX.XXX 0.0.0.0/0 udp dpts:10000:20000
0 0 ACCEPT tcp -- !lo * XXX.XXX.XXX.XXX 0.0.0.0/0 tcp dpt:443
can anyone tell what is missing here? The source address is my static IP, but I see nothing under "destination", should there not be something there?
The I ran the following from cmd line: host mydomain.ddns.net
and it returned the following:
> host xxxxxxxxxx.ddns.net
bash: host: command not found
so I am assuming I have to install some tools in order to run this command under Centos?
Any help or suggestions would be great as I have beat my head against the wall now for several months trying to get this to work and have been very unsuccessful in doing so.
Thanks team,
amphibian