View Full Version : DNS server not working externally!
JimmiJames
12th June 2009, 17:11
I've setup a DNS server(Debian ispconfig3 perfect server). It works fine internally with domains that we own, but it doesn't resolve any other domain on the internet.
Any ideas?
Artanis
13th June 2009, 08:05
Also having this issue on one of my ispconfig3 servers.
the nameservers in /etc/resolve.conf are all pingable as are all external IP's i've tried, but all I can't resolve any DNS records.
till
13th June 2009, 09:44
http://www.howtoforge.com/forums/showthread.php?t=35633
Artanis
13th June 2009, 12:24
Tried that, anything else? :)
falko
14th June 2009, 15:20
What's in your /etc/resolv.conf?
Artanis
14th June 2009, 16:49
nameserver 64.85.160.4
nameserver 209.165.240.227
nameserver 208.67.222.222
First two being VPS providers nameservers, last being OpenDNS nameserver.
falko
15th June 2009, 15:15
Can you add
nameserver 145.253.2.75
in the first place?
Does dig google.com work then?
JimmiJames
15th June 2009, 23:09
I can dig, I can ping, tried different nameservers still doesn't work. I have 3 debian machines, none have DNS working.
ajhart
17th June 2009, 11:54
Hi guys.
First off, I'm quite new to this all and strugling my head off. I don't know much of this all but I can make some sence of Linux and ISPConfig. (What a Noob!?) ha ha
Right, I'm running ISPConfig 3 on Fedora 10 setuped through Perfect Server tut.
I have 3 eth cards in my server, one for internal (10.1.1.210) firewalled by mikrotik router and the other two with a public ip each (196.212.216.75, ADSL fiber Billion router) and (196.212.78.51 ASDL sat Cisco router) ISP provider @ Datapro. The two DNS I got fromm them is 168.210.2.2 and 196.14.239.2, where I get my internet from.
What I intend to do is to use one public ip for a ns1 and the second for a ns2 and register a domain gbsecwireless.co.za.
So first, this is how my server cfg looks like:
[global]
webserver=apache
mailserver=postfix
dnsserver=mydns
[server]
auto_network_configuration=
ip_address=10.1.1.210
netmask=255.255.255.0
gateway=10.1.1.1
hostname=server.gbsecwireless.co.za
nameservers=168.210.2.2, 196.14.239.2
[mail]
module=postfix_mysql
maildir_path=/var/vmail/[domain]/[localpart]
homedir_path=/var/vmail
mailuser_uid=5000
mailuser_gid=5000
mailuser_name=vmail
mailuser_group=vmail
relayhost=
relayhost_user=
relayhost_password=
mailbox_size_limit=0
message_size_limit=0
[getmail]
getmail_config_dir=/etc/getmail
[web]
website_basedir=/var/www
website_path=/var/www/clients/client[client_id]/web[website_id]
website_symlinks=/var/www/[website_domain]/:/var/www/clients/client[client_id]/[website_domain]/
vhost_conf_dir=/etc/httpd/conf/sites-available
vhost_conf_enabled_dir=/etc/httpd/conf/sites-enabled
[fastcgi]
fastcgi_starter_path=/var/www/php-fcgi-scripts/[system_user]/
fastcgi_starter_script=.php-fcgi-starter
fastcgi_alias=/php/
fastcgi_phpini_path=/etc/
fastcgi_children=8
fastcgi_max_requests=5000
fastcgi_bin=/usr/bin/php-cgi
[jailkit]
jailkit_chroot_home=/home/[username]
jailkit_chroot_app_sections=basicshell editors extendedshell netutils ssh sftp scp groups jk_lsh
jailkit_chroot_app_programs=/usr/bin/groups /usr/bin/id /usr/bin/dircolors /bin/basename /usr/bin/dirname /usr/bin/nano
Second, I created a new client and a mail domain
http://i492.photobucket.com/albums/rr282/ajhart1/How%20to%20Forge/untitled1.png
Then I added a site
http://i492.photobucket.com/albums/rr282/ajhart1/How%20to%20Forge/untitled2.png
And then I added a DNS Zone with records
http://i492.photobucket.com/albums/rr282/ajhart1/How%20to%20Forge/untitled3.png
http://i492.photobucket.com/albums/rr282/ajhart1/How%20to%20Forge/untitled4.png
I added a DNS record on my mikrotik so I can access the site www.gbsecwireless.co.za from my internal network
And it is working perfectley fine. I installed Joomla and its working like a dream.
[root@server ~]# cat /etc/resolv.conf
# Generated by NetworkManager
search gbsecwireless.co.za gbsecwireless.co.za gbsecwireless.co.za
nameserver 168.210.2.2
[root@server ~]# dig google.com
; <<>> DiG 9.5.1-P2-RedHat-9.5.1-2.P2.fc10 <<>> google.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 63250
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;google.com. IN A
;; ANSWER SECTION:
google.com. 106 IN A 74.125.127.100
google.com. 106 IN A 74.125.67.100
google.com. 106 IN A 74.125.45.100
;; Query time: 40 msec
;; SERVER: 168.210.2.2#53(168.210.2.2)
;; WHEN: Wed Jun 17 09:53:46 2009
;; MSG SIZE rcvd: 76
[root@server ~]#
Now the thing is, when I try to regester the domain gbsecwireless.co.za at co.za uniform, they tell me that they can't resolve my forward or PTR dns. I can ping both public ip's and co.za as well. Could it maybe be because of my ISP or is there something wrong with my config.
Any help would be very apreciated!!
Thanks in advance!!
falko
17th June 2009, 13:58
@ajhart: Please open a new thread.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.