- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: DNS problem ???
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2003 01:28 PM
тАО04-28-2003 01:28 PM
DNS problem ???
I want to send mails using sendmail.
I configure the sendmail.cf as relay.
.
.
DSmail_server
.
.
The linux is in a dmz zone(net 192.168.114.56), in this dmz I have a mail server 192.168.114.206(exchange).
I have defined in /etc/hosts an entry
192.168.114.206 mail_server
I want to resolv names by /etc/hosts, then I configure /etc/nsswitch.conf to resolv by files.
My problem is that when I send a mail, the mail say :
Deferred : Name Server : mail_server hosts name lookup failure
HELP please ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2003 03:18 PM
тАО04-28-2003 03:18 PM
Re: DNS problem ???
you could try:
DS192.168.114.206 instead of DSmail_server.
Why resolving the name when you could send directly.
Thanks,
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2003 06:17 PM
тАО04-28-2003 06:17 PM
Re: DNS problem ???
try this.
DS[xxx.xxx.xxx.xx]
where xxx.xxx.xxx.xxx is the ip address. in this way, it will not try to resolve the ip.
hth
-balaji
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2003 04:15 AM
тАО04-29-2003 04:15 AM
Re: DNS problem ???
I put the ip address in sendmail.cf but the message is the same ....Name Server: 192.168... host name lookup failure
any other idea ???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2003 04:32 AM
тАО04-29-2003 04:32 AM
Re: DNS problem ???
did u put the ip address within two square braces. (domain literal format)
if not, i guess need to setup service switch.
http://www.sendmail.org/~ca/email/doc8.12/op-sh-2.html#sh-2.5
hth
-balaji
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2003 07:07 AM
тАО04-29-2003 07:07 AM
Re: DNS problem ???
I configure the file nsswitch.conf that use only files, but the error message persist.
the resolv.conf file should content any parameter ??
In HPUX I have a server in the same net, and without dns, and it resolve with /etc/hosts file !!! but this linux not work in the same way ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2003 07:29 AM
тАО04-29-2003 07:29 AM
Re: DNS problem ???
sorry, I put the ip address into braquets and work !!!
but why don't resolve names with hosts file ????
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2003 06:45 PM
тАО04-29-2003 06:45 PM
Re: DNS problem ???
Test the DNS though.
dig
If it doesn't resolve you have networking/dns issues.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2003 06:58 PM
тАО04-29-2003 06:58 PM
Re: DNS problem ???
actually sendmail doesnt use the host file but the MX records. if you dont want to use it has to be configured in the service.switch file. also there is a config entry not to use these MX records (but dont remember now)
hth
-balaji