On Tue, 8 Jul 2003, Harry Putnam wrote: > 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 [snip] > > 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. If you edit /etc/nsswitch.conf and change the line hosts: files dns to: hosts: files [success=return] then this should work. (Actually "return" is the default and just the line "hosts: files" should work on its own). HTH, Oisin Feeley