Re: DNS Mail

2001-01-03 Thread Colin Watson
Debian GNU [EMAIL PROTECTED] wrote:
I have configured a DNS server using bind in Debian potato, Kernel
2.2.17. I have defined the hosts www.xxx.yyy.com, ftp.xxx.yyy.com,
mail.xxx.yyy.com etc. I can get the web page hosted at www.xxx.yyy.com
by typing the URL in browser window. How can I get the same by typing
just xxx.yyy.com, like yahoo.com and www.yahoo.com ?

Add an A record for xxx.yyy.com. 'host yahoo.com' demonstrates. You may
also need to add a virtual host for xxx.yyy.com in your web server
configuration, if you're using virtual hosts.

How can I configure the linux machine to receive mail addressed to
[EMAIL PROTECTED] instead of [EMAIL PROTECTED] ? The mail server
configuration is done using sendmail. I would like to get the details
of the DNS portion only.

Add an MX record for xxx.yyy.com, setting mail.xxx.yyy.com as the mail
exchanger. The bind documentation should have more details.

-- 
Colin Watson [EMAIL PROTECTED]



Re: DNS Mail

2001-01-03 Thread Alvin Oga

hi ya...

donno if this was answered or not... didnt read prev msgs..

yyy.com. IN A   1.2.3.4
www.yyy.com. IN A   2.3.4.5   --- same or different place
xxx.yyy.com. IN A   3.4.5.6

than in httpd  you need to config the same tree or different tree
for each server.make yyy.com the default in  and use virtualhosts
for the rest of ummm ( www and xxx ) ...

for Mail.pick a mail server...edit sendmail.cw
- add all the domains its gonna hold mail for...

for each serveredit sendmail.cf to point to Mail.yyy.com
( use MX records too - or not )

c ya
alvin

On Wed, 3 Jan 2001, Colin Watson wrote:

 Debian GNU [EMAIL PROTECTED] wrote:
 I have configured a DNS server using bind in Debian potato, Kernel
 2.2.17. I have defined the hosts www.xxx.yyy.com, ftp.xxx.yyy.com,
 mail.xxx.yyy.com etc. I can get the web page hosted at www.xxx.yyy.com
 by typing the URL in browser window. How can I get the same by typing
 just xxx.yyy.com, like yahoo.com and www.yahoo.com ?
 
 Add an A record for xxx.yyy.com. 'host yahoo.com' demonstrates. You may
 also need to add a virtual host for xxx.yyy.com in your web server
 configuration, if you're using virtual hosts.
 
 How can I configure the linux machine to receive mail addressed to
 [EMAIL PROTECTED] instead of [EMAIL PROTECTED] ? The mail server
 configuration is done using sendmail. I would like to get the details
 of the DNS portion only.
 
 Add an MX record for xxx.yyy.com, setting mail.xxx.yyy.com as the mail
 exchanger. The bind documentation should have more details.
 
 -- 
 Colin Watson [EMAIL PROTECTED]
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]