[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

CNAME in DNS: having a cname for a different domain than my domain...



i set up apache and name-base virtualhosting on my 
box.  my pcs name is home-woody.dm0nkz.net then 
created a vhost of

a) vhosta.testing.org
b) vhostb.dm0nkz.net

so i then created a cname for vhostb.dm0nkz.net and 
vhosta.testing.com

like 

...
home-woody.dm0nkz.net.  A  192.168.0.1

vhosta.testing.org. 		CNAME	hanz-woody
vhostb				CNAME	hanz-woody

-------

I can ping vhostb but not vhosta.testing.org, is there
wrong with my
cname for vhosta.testing.org? can i do this at all? or
i need to setup a
another zone.. "testing.org" in my named.conf?


heres my current named.conf...

***
options {
	directory "/var/cache/bind";
	auth-nxdomain no;    # conform to RFC1035
};

zone "." { type hint; file "/etc/bind/db.root";
};

zone "0.0.127.in-addr.arpa" { 
        type master;
	file "/etc/bind/db.127";
};

// add entries for other zones below here

zone "mydomain.net" {
    type master;
    notify no;
    file "db.dm0nkz.net";
};

zone "0.168.192.in-addr.arpa" {
    type master;
    notify no;
    file "db.0.168.192";	
};
****

thanks in advance!!!


John


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com



Reply to: