Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Can I do anything.

0 views
Skip to first unread message

Scott Tuttle

unread,
Feb 18, 2002, 2:17:13 AM2/18/02
to
All,
I was working on my one linux box remotely and I seriously foobared
it. I was also working on my sendmail config at the same time. I
screwed up glibc on it or something because now I can no longer
authenticat witht he box, via ssh, or ftp. So now my sendmail is
down. Mind you my server is in Indiana. I am working in Cali. All I
can do when I get home is to rebuild the box. But for the time being
my webservices are working fine. My DNS was also on this box. So
this is where my serious questions start.

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


Will Yardley

unread,
Feb 18, 2002, 2:28:14 AM2/18/02
to
In article <a4q9pp$a...@pub3.rc.vix.com>, Scott Tuttle wrote:

> 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

[...]

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.

Scott Tuttle

unread,
Feb 18, 2002, 1:50:28 PM2/18/02
to
Well besides that, do you have any suggestions for my problem?

On 17 Feb 2002 23:28:14 -0800, Will Yardley <n...@veggiechinese.net>
wrote:

Scott Tuttle

unread,
Feb 18, 2002, 1:54:51 PM2/18/02
to
cat /var/named/pz/crampinhand.com
;
; Zone file for linux.bogus

;
; The full zone file
;
$TTL 3D
@ IN SOA ns3.crampinhand.com.
hostmaster.crampinhand.com. (
199802151 ; serial, todays date + todays

serial #
8H ; refresh, seconds
2H ; retry, seconds
4W ; expire, seconds
1D ) ; minimum, seconds
;
NS ns1.crampinhand.com. ; Inet Address of name
server
NS ns2.crampinhand.com. ; Inet Address of name
server
NS ns3.crampinhand.com. ; Inet Address of name
server
MX 10 mail.crampinhand.com. ; Primary Mail
Exchanger
;
localhost A 127.0.0.1
ns1 A 207.224.43.137
ns2 A 207.224.43.138
ns3 A 216.154.246.10
mail A 216.154.246.10

www CNAME ns1
ftp CNAME ns3

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:

Mark_A...@isc.org

unread,
Feb 18, 2002, 5:30:09 PM2/18/02
to

> All,
> I was working on my one linux box remotely and I seriously foobared
> it. I was also working on my sendmail config at the same time. I
> screwed up glibc on it or something because now I can no longer
> authenticat witht he box, via ssh, or ftp. So now my sendmail is
> down. Mind you my server is in Indiana. I am working in Cali. All I
> can do when I get home is to rebuild the box. But for the time being
> my webservices are working fine. My DNS was also on this box. So
> this is where my serious questions start.
>
> 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

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

> 199802151 ; serial, tod date + tod serial #


> 8H ; refresh, seconds
> 2H ; retry, seconds
> 4W ; expire, seconds
> 1D ) ; minimum, seconds
> ;

> 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

sli...@slidge.com

unread,
Feb 19, 2002, 12:42:50 PM2/19/02
to
> 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

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]).


Scott Tuttle

unread,
Feb 19, 2002, 8:33:19 PM2/19/02
to
Yes. I fixed my MX pointer problem. And my other problem is pretty
much fixed. I found out that my friend could log onto this remote box
from the console, my guess is pam is not required to log in on the
console. I had him ftp down a named.tar and extract it with the
updated entries. So I just updated the primary and seconday name
servers. Problem solved, at least until I have to unplug this box and
take it home.

Thanks for all the help ppl.
Scott Tuttle

0 new messages