The old DNS gambit

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

 



For us single user homeboys, its always a stumbling block how to do
resolution of your own host.  Mine will never be resolvable with
`host' or `nslookup'.  For years I've just named it as I choose but
set up mail to masquerade as my (ISP's) smtp server.

One way or another that has always worked... The newest sendmail
packages seem to finally break that for me.  Something to do with 
sm-client I think.  and the line in submit.cf:

   FEATURE(`msp', `[127.0.0.1]')dnl
That used to say 
   FEATURE(`msp')dnl

But even changing it back, I get maillog messages that seem to
indicate a resolution problem:

Jul 7 23:49:58 reader sendmail[24514]: h686nwHQ024514:
to=<reader@xxxxxxxxxxx>, delay=00:00:00, xdelay=00:00:00,
mailer=relay, pri=32425, relay=smtp.west.cox.net. [68.6.19.4],
dsn=5.1.1, stat=User unknown

Jul 7 23:49:58 reader sendmail[24514]: h686nwHQ024514: h686nwHR024514:
return to sender: User unknown

Jul 7 23:49:58 reader sendmail[24514]: h686nwHR024514:
to=reader@xxxxxxxxxxx, delay=00:00:00, xdelay=00:00:00, mailer=relay,
pri=33449, relay=smtp.west.cox.net. [68.6.19.4], dsn=5.1.1, stat=User
unknown

Jul 7 23:49:58 reader sendmail[24514]: h686nwHQ024514: Losing
./qfh686nwHQ024514: savemail panic

Jul 7 23:49:58 reader sendmail[24514]: h686nwHQ024514: SYSERR(root):
savemail: cannot save rejected email anywhere


I can make it work by using my sendmail.mc and submit.mc from the
7.3 install I just finaly laid to rest.  And things begin to work,
with no other changes.

I suspect it is dns related and wondered if there is really a
canonical way to make my host resolve with out actually getting an
official hostname domain etc.

Someone will point out that there are free ones but I just think it
would be more unecessary bs.  And more crapola to keep up with,

So finally to the punch line:

Is there something I can put in /etc/reslov.conf that will force a
dns query to look at my hosts file first, and go no further if it
hits pay dirt.  I don't really want to run a nameserver myself.
Again it just seems like too much work and bs for a single user
operation.

I've also contemplated some scheme where hostname is set to what ever
my current internet address is at the firewall.  and changes
dynamically but that seems really trouble prone.

I've seen and tried various things in /etc/resolv.conf.

`search mylocal.domain'  (as first line)

`lookup file bind' (used on open bsd stock machines)

I've never noticed any of that to make a shred of difference.
If the nameserver lines are there, that is where the resolution is
sent. 

Currently I have:

cat /etc/resolv.conf
  nameserver 192.168.0.20

(only the one line)

That host is my gateway  router firewall which gets its address and
dns information  from my isp by dhcp.  All of which is dynamic.  Or
at least can change with out notice.

This works for all normal stuff like web browsing and mail (with my
old sendmail.cf submit.cf).  But still it would be nice to be able to
say:
  nslookup reader.local.net1 
and get back
  192.168.1.7

Lots of other tools would be happy with that.




[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux