PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Logiciels d'hébergement > mailing.postfix.users > Alternative to DNS for host resolution
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Alternative to DNS for host resolution

Réponse
 
LinkBack Outils de la discussion
Vieux 08/03/2006, 15h54   #1
dsw4@lucent.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Alternative to DNS for host resolution

Is there a way for Postfix to resolve hostnames without using DNS. Is
there a mapping table/file that can be setup for this?

  Réponse avec citation
Vieux 08/03/2006, 16h01   #2
Hannes Erven
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Alternative to DNS for host resolution

dsw4@lucent.com wrote:

> Is there a way for Postfix to resolve hostnames without using DNS. Is
> there a mapping table/file that can be setup for this?


Have you tried the "hosts" file? It's usually at /etc/hosts , (or
c:\windows\system32\drivers\etc), but people could better if you
tell us which OS you are using.


-hannes
  Réponse avec citation
Vieux 08/03/2006, 23h16   #3
Greg Hackney
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Alternative to DNS for host resolution

dsw4@lucent.com wrote:
> Is there a way for Postfix to resolve hostnames without using DNS. Is
> there a mapping table/file that can be setup for this?


It all depends on what you mean by "without using DNS".

For example, there is the DNS lookup for mail exchanger (MX) records
(or address (A) records) to determine which hostname to send someone's
email to.

This DNS routing can be overridden by entries in the Postfix transport file.

Then there is the DNS lookup of the hostname in order to obtain the IP address(es).

On many types of UNIX/Linux boxes, you can add that info in the /etc/hosts file,
as the previous poster said. Then you have to configure a file in the /etc
directory that says to look at the /etc/hosts file before using DNS (or in lieu of using DNS).

But there is another way to force Postfix to use a particular IP address for a given
hostname, and that is also in the transport file. For example:

host.com smtp:[100.101.102.103]

--
Greg
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 23h16.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 1,22560 seconds with 11 queries