Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 27th November 2005, 16:54
Smitty Smitty is offline
Junior Member
 
Join Date: Nov 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

... 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
Reply With Quote
  #12  
Old 27th November 2005, 21:47
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,169
Thanks: 1,026
Thanked 1,766 Times in 1,672 Posts
Default

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.
__________________
Falko
--
Follow me on:
Reply With Quote
  #13  
Old 26th June 2007, 20:45
wkdboi wkdboi is offline
Junior Member
 
Join Date: Jun 2007
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to wkdboi Send a message via MSN to wkdboi Send a message via Yahoo to wkdboi
Default 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.
Reply With Quote
  #14  
Old 27th June 2007, 19:00
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,169
Thanks: 1,026
Thanked 1,766 Times in 1,672 Posts
Default

What's the output of
Code:
netstat -tap
? 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?
__________________
Falko
--
Follow me on:
Reply With Quote
  #15  
Old 27th June 2007, 19:14
wkdboi wkdboi is offline
Junior Member
 
Join Date: Jun 2007
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to wkdboi Send a message via MSN to wkdboi Send a message via Yahoo to wkdboi
Default

Quote:
Originally Posted by falko
What's the output of
Code:
netstat -tap
?
[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
Reply With Quote
  #16  
Old 28th June 2007, 21:38
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,169
Thanks: 1,026
Thanked 1,766 Times in 1,672 Posts
Default

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?
__________________
Falko
--
Follow me on:
Reply With Quote
  #17  
Old 28th June 2007, 23:19
wkdboi wkdboi is offline
Junior Member
 
Join Date: Jun 2007
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to wkdboi Send a message via MSN to wkdboi Send a message via Yahoo to wkdboi
Default

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
Reply With Quote
  #18  
Old 29th June 2007, 18:46
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,169
Thanks: 1,026
Thanked 1,766 Times in 1,672 Posts
Default

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...
__________________
Falko
--
Follow me on:
Reply With Quote
  #19  
Old 29th June 2007, 18:59
wkdboi wkdboi is offline
Junior Member
 
Join Date: Jun 2007
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to wkdboi Send a message via MSN to wkdboi Send a message via Yahoo to wkdboi
Default

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.
Reply With Quote
  #20  
Old 30th June 2007, 16:25
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,169
Thanks: 1,026
Thanked 1,766 Times in 1,672 Posts
Default

Take a look at chapter 6 on http://www.howtoforge.com/ispconfig_dns_godaddy_p3 .
__________________
Falko
--
Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Sponsored Links: Turn your desk phone and mobile phone into one with Sprint Mobile Integration.
www.seamlessenterprise.com

One number. One voicemail. Seize the lead. Sprint Mobile Integration.
www.seamlessenterprise.com

One Number. One Voicemail.
Make it easier for clients to reach you. Turn your desk phone and mobile phone into one with Sprint Mobile Integration.
www.seamlessenterprise.com

One number. One voicemail. Sprint Mobile Integration.
www.seamlessenterprise.com

One number. one voicemail. Seize the lead with Sprint. Learn more

AT&T Synaptic Compute as a Service. Boost your power on demand.

Trial: IBM Cognos Express Reporting, Analysis & Planning

Learn benefits of Simpana software.
View the Gartner Video

Sprint 4G - The Ultimate Mobile Broadband
Click here

SAP-Business Objects Crystal Reports Server
Complete reporting without hidden costs. Free Trial