I am bringing up a third box to run mail services. I also want to do
dns on this box and update the dns entries in whois so that this box
forwards www requests to the current server but serves the mail
services. Suggestions on what I can do?
I also have a config problem in my current dns that I am bringing up
on this box. But it could be related to the DNS being up on those
boxes. I am testing my sendmail locally right now. I cannot send
email using elm to a us...@mydomain.com I get a "sendmail[20304]:
g1I5EOEl020302: SYSERR(root): MX list for mydomain.com. points back to
mail.mydomain.com" I believe my sendmail is setup right and its a dns
config error. I currently have in the domain file
;
; Zone file for mydomain.com
;
; The full zone file
;
$TTL 3D
@ IN SOA ns3.mydomain.com. hostmaster.mydomain.com. (
199802151 ; serial, tod date + tod serial #
8H ; refresh, seconds
2H ; retry, seconds
4W ; expire, seconds
1D ) ; minimum, seconds
;
NS ns1.mydomain.com.
NS ns2.mydomain.com.
NS ns3.mydomain.com.
MX 10 mail.mydomain.com.
;
localhost A 127.0.0.1
ns1 A oldrealip1
ns2 A oldrealip2
ns3 A newrealip1
mail A newrealip1
www CNAME ns1
ftp CNAME ns3
Is something setup wrong? I had my dns setup and working before but
since I will not be able to recover my zone files till I delete that
old box and mount the drives in another box I am starting from fresh.
I can get another real ip address. So I could just create two new
name servers and add them to the whois db. The only problem I do not
have reverse look ups for the new ips. Will that be a problem? Are
my other nameservers which are currently up going to cause me problems
with getting a workable solution up and running?
I really am just trying to get something setup so that the emails for
my domains aren't bounced. My email has been down for sometime
already and I am sure I have lost some emails.
Any help will be greatly appreciated.
Thanks
Scott Tuttle
> I believe my sendmail is setup right and its a dns config error. I
> currently have in the domain file
> ; Zone file for mydomain.com
[...]
> NS ns1.mydomain.com.
> NS ns2.mydomain.com.
> NS ns3.mydomain.com.
just a suggestion... if you want help, you should give the real domain
name and the real zone file. a lot of times, changing information
either creates errors that aren't in the real zone file, or gets rid of
errors that are.
giving the real information also allows others to use various tools to
troubleshoot your problem.
since DNS if inherently public information, there's very little to be
gained by obfuscating this information.
--
Will Yardley
Newdream Network
Please reply to the newsgroup only.
On 17 Feb 2002 23:28:14 -0800, Will Yardley <n...@veggiechinese.net>
wrote:
cat /etc/named.conf
// Config file for caching only name server
//
// The version of the HOWTO you read may contain leading spaces
// (spaces in front of the characters on these lines ) in this and
// other files. You must remove them for things to work.
//
// Note that the filenames and directory names may differ, the
// ultimate contents of should be quite similar though.
options {
directory "/var/named";
// Uncommenting this might help if you have to go through a
// firewall and things are not working out. But you probably
// need to talk to your firewall admin.
// query-source port 53;
};
controls {
inet 127.0.0.1 allow { localhost; } keys { rndc_key; };
};
key "rndc_key" {
algorithm hmac-md5;
secret "blahblahblahblahblahblahblah";
};
zone "." {
type hint;
file "root.hints";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "pz/127.0.0";
};
zone "crampinhand.com" {
type master;
notify no;
file "pz/crampinhand.com";
};
On 17 Feb 2002 23:28:14 -0800, Will Yardley <n...@veggiechinese.net>
wrote:
>In article <a4q9pp$a...@pub3.rc.vix.com>, Scott Tuttle wrote:
This is a sendmail configuration error. Go read the sendmail FAQ
as the answer is there.
http://www.sendmail.org/faq/section4.html#4.5
> ;
> ; Zone file for mydomain.com
> ;
> ; The full zone file
> ;
> $TTL 3D
> @ IN SOA ns3.mydomain.com. hostmaster.mydomain.com. (
> 199802151 ; serial, tod date + tod serial #
> 8H ; refresh, seconds
> 2H ; retry, seconds
> 4W ; expire, seconds
> 1D ) ; minimum, seconds
> ;
> NS ns1.mydomain.com.
> NS ns2.mydomain.com.
> NS ns3.mydomain.com.
> MX 10 mail.mydomain.com.
> ;
> localhost A 127.0.0.1
> ns1 A oldrealip1
> ns2 A oldrealip2
> ns3 A newrealip1
> mail A newrealip1
> www CNAME ns1
> ftp CNAME ns3
>
> Is something setup wrong? I had my dns setup and working before but
> since I will not be able to recover my zone files till I delete that
> old box and mount the drives in another box I am starting from fresh.
> I can get another real ip address. So I could just create two new
> name servers and add them to the whois db. The only problem I do not
> have reverse look ups for the new ips. Will that be a problem? Are
> my other nameservers which are currently up going to cause me problems
> with getting a workable solution up and running?
>
> I really am just trying to get something setup so that the emails for
> my domains aren't bounced. My email has been down for sometime
> already and I am sure I have lost some emails.
>
> Any help will be greatly appreciated.
> Thanks
> Scott Tuttle
>
>
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark.A...@isc.org
I don't know about your other problems, but this is a fairly common
problem. What is happening is that the MX record for the domain is set
to 'mail.mydomain.com', but you have not included 'mail.mydomain.com' in
the list of domains that your mail server is to accept mail for (normally
done via the CW class in sendmail.cf [or the sendmail.cw file, or
relay-domains, whatever they call it nowadays]).
Thanks for all the help ppl.
Scott Tuttle