one machine two domians

Barry Margolin barmar at alum.mit.edu
Fri May 14 21:09:14 UTC 2004


In article <c83ad6$r94$1 at sf1.isc.org>, RYAN vAN GINNEKEN <rmvg at shaw.ca> 
wrote:

> Thank you my Barry Margolin for helping me solve my child domain with an 
> nameserver problem.  Now I have another so thank you in advance for this 
> one you guys make it look so easy. 
> 
> I have several domains hosted on one machine computerking.ca and 
> sculpturaldesign.ca these are both registrar with webnames.ca and i have 
> both pointed at my server. 
> 
> settings for computerking.ca
> ns1.computerking.ca      68.146.233.221
> ns1.highcoup.ca             198.53.146.238
> 
> settings for sculpturaldesign.ca
> ns1.computerking.ca      68.146.233.221
> ns1.highcoup.ca             198.53.146.238
> 
> Now everything works as it should when i type in www.computerking.ca i 
> get that website however when i enter just computerking.ca nothing 
> happens???? why  it always  used  to ??  apache has a virtual server 
> setup for each computerking.ca and www.computerking.ca

There's no A record for computerking.ca in your zone, just SOA and NS 
records.  You need to add:

computerking.ca. IN A 68.146.233.221


> 
> Typing  in sculpturaldesign.computerking.ca gives my the other website 
> this is all great but i own both domains and want the second website to 
> show up when i simply type sculpturaldesign.ca or 
> www.sculpturaldesign.ca.  My registrar webnames.ca has a feature called 
> domain forwarding and gripping do i have to use this or is there a way 
> to achieve what i need somehow with BIND.

This domain is delegated to your nameserver, so you need to add the zone 
to your configuration.

> 
> Also i have these errors in my logs and wounder if they have anything to 
> do with the fore mentioned problems.  I am guessing no looks more like 
> something to do with master slave communication thats why i put them at 
> the end of the email.. 
> 
> May 14 13:47:42 v22 sshd[264]: error: bind: Address already in use
> May 14 13:47:42 v22 sshd[264]: error: channel_setup_fwd_listener: cannot 
> listen to port: 2300
> May 14 13:47:42 v22 sshd[264]: error: bind: Address already in use
> May 14 13:47:42 v22 sshd[264]: error: channel_setup_fwd_listener: cannot 
> listen to port: 6790
> May 14 13:47:49 v22 su: rmvg to root on /dev/ttyp1
> May 14 14:05:32 v22 named[105]: client 68.144.231.38#2422: update 
> 'computerking.ca/IN' denied
> May 14 14:05:57 v22 named[105]: client 68.144.231.38#2425: update 
> 'computerking.ca/IN' denied

The sshd errors probably don't have anything to do with DNS (bind is the 
name of the Unix system call that's used by servers to tell the OS what 
port they're listening on -- this is totally unrelated to the DNS 
package named "BIND").

The "update denied" message imply that there's a machine trying to 
perform a dynamic DNS update of your zone (e.g. someone using the 
"nsupdate" command), but you don't have this enabled in your named.conf 
file.

-- 
Barry Margolin, barmar at alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***


More information about the bind-users mailing list