Mailinglist Archive: opensuse (4053 mails)

< Previous Next >
DNS & Sendmail
  • From: "Brandon Caudle" <bcaudle@xxxxxxxxxxx>
  • Date: Sun, 26 Aug 2001 18:13:46 -0400
  • Message-id: <OE65T3TGJ2TUSzbAUfK00001436@xxxxxxxxxxx>

Hi,
Recently some kind souls help me get my domain name working. (Instead of
typing http://ns1.larkhavengolf.com you can now type www.larkhavengolf.com)
Well I want to create a mail server on the same machine. (NOTE: I am
currently not sure which mail server I will be using, If you have any
suggestions for 1 mail server that both sending and receiving using POP and
SMTP please email me with them). But I was wondering if my current DNS
settings are correct. I am currently using named 8.2.3. I know I need
something called MX records or something, if you have this set up please
tell me if I do to, thanks! (NOTE: Running Suse 7.2)

/etc/HOSTNAME
ns1.larkhavengolf.com

/etc/hosts
127.0.0.1 localhost
127.0.0.1 ns1.larkhavengolf.com
192.168.1.100 linux.local linux
192.168.1.100 ns1.larkhavengolf.com ns1
192.168.1.102 themaster.larkhavengolf.com themaster
192.168.1.103 ibm.larkhavengolf.com ibm
192.168.1.104 grill.larkhavengolf.com grill

/etc/named.conf
options {

directory "/var/named";

cleaning-interval 120;

statistics-interval 0;

notify no;
forwarders {
216.227.80.36;
216.227.49.36;
};
};

zone "localhost" in {
type master;
file "localhost.zone";
};

zone "0.0.127.in-addr.area" in {
type master;
file "127.0.0.zone";
};

zone "." in {
type hint;
file "root.hint";
};

server 216.227.80.36 {
transfers 10000;
};
server 216.227.49.36 {
transfers 10000;
};
zone "larkhavengolf.com" {
type master;
file "/var/named/ns1.larkhavengolf.com.hosts";
};

/var/named/ns1.larkhavengolf.com.hosts
$ttl 38400
larkhavengolf.com. IN SOA ns1 bcaudle.hotmail.com. (
2001082203
10800
3600
432000
38400 )
IN NS ns1
ns1 IN A 64.192.99.49
www IN CNAME ns1
larkhavengolf.com. IN MX 10 smtp.larkhavengolf.com.
www.larkhavengolf.com. IN MX 20 smtp.lartkhavengolf.com
smtp.larkhavengolf.com. IN A 64.192.99.49
pop.larkhavengolf.com. IN A 64.192.99.49
ns.larkhavengolf.com. IN A 64.192.99.49
news.larkhavengolf.com. IN A 64.192.99.49

Is this all correct?

Thanks
Brandon Caudle
--------------
15yr Old Avid Unix User (HP-UX,FreeBSD,Linux)
Larkhaven Golf Course
Charlotte, NC

"There cannot be a crisis next week. My schedule is already full." -- Henry
Kissinger

< Previous Next >
This Thread
Follow Ups