Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-09-2004, 04:46 PM   #1
Registered: Jan 2004
Posts: 71

Rep: Reputation: 15
hosts MX entry

Hi all,
Is it possible to put an MX entry into the hosts file? Or is there some other way to do that than DNS?

Old 01-10-2004, 04:01 AM   #2
Senior Member
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 75
Is it possible to put an MX entry into the hosts file?
No. Why would you want to do that, any way? The hosts file only resolves names to IPs. It doesn't support and type of DNS RR.

Or is there some other way to do that than DNS?
No, MX is a DNS Resource Record! Why in the world are you trying to avoid DNS when you're asking how to use DNS records?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help me: slowly booting when adding an entry in /etc/hosts jindo Linux - Networking 6 09-29-2005 11:45 AM
/etc/hosts entry? batard Linux - Newbie 5 03-25-2005 02:22 PM
Correct entry for local machine in /etc/hosts Kropotkin Linux - Networking 1 11-16-2004 06:41 PM Entry in Zone file and /etc/hosts, will this cause probs? mikeyt_333 Linux - Networking 7 12-02-2003 03:51 PM
hosts entry for a lan unit with no dns entry linxtc Linux - Networking 1 10-03-2003 09:05 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:40 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration