
27th November 2005, 16:54
|
|
Junior Member
|
|
Join Date: Nov 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
... let me understand this correctly...
If I register my new domain (i.e smittydomain.com), and I wish to operate my own authoritative nameserver for that same domain (i.e ns1.smittydomain.com), you're saying I can't do that (without dependence upon an already registered nameserver elsewhere)? My domain registrar has told me they can register my nameserver at the same time that I register my new domain as part of the single registration process for my new domain.
Do all registrar's not have the capability to register the nameservers for that same domain, if called upon to do so?
.. not wishing to get caught in the stumblings of which came first - the chicken or the egg.
.. in advance, thanks.
Smitty
|

27th November 2005, 21:47
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,169
Thanks: 1,026
Thanked 1,766 Times in 1,672 Posts
|
|
I recommend that you register a "technical" domain (a domain you use for technical purposes only), then create ns1.<technicaldomain> and ns2.<technicaldomain> as A records, and then use these name servers when you register other domains.
|

26th June 2007, 20:45
|
|
Junior Member
|
|
Join Date: Jun 2007
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
need help with isp config and bind dns
Hi All,
I have installed Cent OS 5 and ISP Config.
I log into ISP config it tells me bind dns = offline
I don't know what is wrong.
Domain is www.mad2.co.uk and have set up bind to use ns1.dnsmaster.net for www.mad2.co.uk IP for Nameserver is 212.84.167.18
And I am using my Static IP 84.45.211.25 for all other domains so in effect a loopback on itself. I have opened tcp/udp port 53 to the server but can't get any local domain like 1.mad2.co.uk to work.
If anyone can help would be much appreciated
Many Thanks
Linux Webserver Newbie
Last edited by wkdboi; 26th June 2007 at 20:49.
|

27th June 2007, 19:00
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,169
Thanks: 1,026
Thanked 1,766 Times in 1,672 Posts
|
|
What's the output of ? Any BIND errors in your log files?
Did you disable SELinux? Did you use the "Perfect Setup" for CentOS 5.0 to set up your server?
Which DNS server is the primary nameserver for your domain?
|

27th June 2007, 19:14
|
|
Junior Member
|
|
Join Date: Jun 2007
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
|
Originally Posted by falko
What's the output of ?
[root@server1 ~]# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:mysql *:* LISTEN 2357/mysqld
tcp 0 0 *:sunrpc *:* LISTEN 1945/portmap
tcp 0 0 *:hosts2-ns *:* LISTEN 3505/ispconfig_http
tcp 0 0 server1.mad2.co.uk:domain *:* LISTEN 4174/named
tcp 0 0 localhost.localdomai:domain *:* LISTEN 4174/named
tcp 0 0 *:ftp *:* LISTEN 3811/proftpd: (acce
tcp 0 0 localhost.localdomain:ipp *:* LISTEN 2218/cupsd
tcp 0 0 localhost.localdomain:rndc *:* LISTEN 4174/named
tcp 0 0 *:smtp *:* LISTEN 4104/master
tcp 0 0 *:892 *:* LISTEN 1982/rpc.statd
tcp 1 0 server1.mad2.co.uk:47970 75.174.92.64.static.re:http CLOSE_WAIT 2624/python
tcp 1 0 server1.mad2.co.uk:47968 75.174.92.64.static.re:http CLOSE_WAIT 2624/python
tcp 1 0 server1.mad2.co.uk:47972 75.174.92.64.static.re:http CLOSE_WAIT 2624/python
tcp 1 0 server1.mad2.co.uk:59341 hawking-if-a.mirrorser:http CLOSE_WAIT 2624/python
tcp 1 0 server1.mad2.co.uk:35637 ns1.centos.org:http CLOSE_WAIT 2624/python
tcp 0 0 *:imaps *:* LISTEN 2391/dovecot
tcp 0 0 * op3s *:* LISTEN 2391/dovecot
tcp 0 0 * op3 *:* LISTEN 2391/dovecot
tcp 0 0 *:imap *:* LISTEN 2391/dovecot
tcp 0 0 *:http *:* LISTEN 3676/httpd
tcp 0 0 *:ssh *:* LISTEN 2236/sshd
tcp 0 0 localhost6.localdomain:rndc *:* LISTEN 4174/named
tcp 0 0 *:https *:* LISTEN 3676/httpd
tcp 0 0 server1.mad2.co.uk:ssh ::ffff:10.0.0.8:62065 ESTABLISHED 6740/0
Any BIND errors in your log files? None that I know of
Did you disable SELinux? Yes the How to Forge Cent OS 5 32 bit Did you use the "Perfect Setup" for CentOS 5.0 to set up your server? Yes
Which DNS server is the primary nameserver for your domain?
|
Primary name server is ns1.dnsmaster.net My domain register is Skymarket so it's their dns server
|

28th June 2007, 21:38
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,169
Thanks: 1,026
Thanked 1,766 Times in 1,672 Posts
|
|
BIND is running, I can see it in the output ot netstat -tap.
Quote:
|
Originally Posted by wkdboi
Primary name server is ns1.dnsmaster.net My domain register is Skymarket so it's their dns server
|
So did you create slave zones then for mad2.co.uk on your ISPConfig server?
Can you run
Code:
dig @localhost mad2.co.uk
on your ISPConfig server? What's the output?
|

28th June 2007, 23:19
|
|
Junior Member
|
|
Join Date: Jun 2007
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
|
Originally Posted by falko
BIND is running, I can see it in the output ot netstat -tap.
So did you create slave zones then for mad2.co.uk on your ISPConfig server?
Can you run
Code:
dig @localhost mad2.co.uk
on your ISPConfig server? What's the output?
|
[root@server1 ~]# dig @localhost mad2.co.uk
; <<>> DiG 9.3.3rc2 <<>> @localhost mad2.co.uk
; (1 server found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 8971
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 1
;; QUESTION SECTION:
;mad2.co.uk. IN A
;; ANSWER SECTION:
mad2.co.uk. 86400 IN A 10.0.0.50
;; AUTHORITY SECTION:
mad2.co.uk. 86400 IN NS ns1.dnsmaster.net.
mad2.co.uk. 86400 IN NS ns2.dnsmaster.net.
;; ADDITIONAL SECTION:
ns2.dnsmaster.net. 172680 IN A 212.84.168.18
;; Query time: 3 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Jun 28 22:18:36 2007
;; MSG SIZE rcvd: 109
|

29th June 2007, 18:46
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,169
Thanks: 1,026
Thanked 1,766 Times in 1,672 Posts
|
|
It's responding at least.
Two problems:
1)
Quote:
|
Originally Posted by wkdboi
;; ANSWER SECTION:
mad2.co.uk. 86400 IN A 10.0.0.50
|
Why do you use a local IP address? Nobody is then able to access your site from the outside...
2) I get this:
Code:
;; ANSWER SECTION:
mad2.co.uk. 43200 IN A 84.45.211.25
which means that the primary DNS has stored another IP address for the domain than your own DNS server. This leads me to the assumption that you set up the mad2.co.uk zone as a master zone instead of a slave zone on your own nameserver...
|

29th June 2007, 18:59
|
|
Junior Member
|
|
Join Date: Jun 2007
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
|
Originally Posted by falko
It's responding at least.
Two problems:
1)
Why do you use a local IP address? Nobody is then able to access your site from the outside...
2) I get this:
Code:
;; ANSWER SECTION:
mad2.co.uk. 43200 IN A 84.45.211.25
which means that the primary DNS has stored another IP address for the domain than your own DNS server. This leads me to the assumption that you set up the mad2.co.uk zone as a master zone instead of a slave zone on your own nameserver...
|
Hmmm this could very well be true I set everything up using ISP config so how do I go about checking and changing to slave dns
Copy of named.conf
[root@server1 etc]# nano named.conf
GNU nano 1.3.12 File: named.conf
zone "1.mad2.co.uk" {
type master;
file "pri.1.mad2.co.uk";
};
zone "mad2.co.uk" {
type master;
file "pri.mad2.co.uk";
};
zone "ns1.mad2.co.uk" {
type slave;
file "sec.ns1.mad2.co.uk";
masters { 84.45.211.25; };
};
//// MAKE MANUAL ENTRIES BELOW THIS LINE! ////
Last edited by wkdboi; 29th June 2007 at 19:31.
|

30th June 2007, 16:25
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,169
Thanks: 1,026
Thanked 1,766 Times in 1,672 Posts
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
|
IMAP & POP3 FC3
|
Samer A. Yaghi |
Installation/Configuration |
6 |
17th October 2005 12:54 |
All times are GMT +2. The time now is 05:19.
|
Recent comments
19 hours 11 min ago
22 hours 2 min ago
1 day 3 hours ago
1 day 3 hours ago
1 day 4 hours ago
1 day 11 hours ago
1 day 12 hours ago
1 day 13 hours ago
1 day 17 hours ago
1 day 18 hours ago