Hi there,
Is there a lib function in UNIX that will return ip adress based on
looking up MX record for a given mail domain ?
if not, how do I do this then ?
Regards,
Klaus
Hi there,
Is there a lib function in UNIX that will return ip adress based on
looking up MX record for a given mail domain ?
if not, how do I do this then ?
Regards,
Klaus
You have to call the DNS resolver libraries directly. See res_send(3) andQuote:>Is there a lib function in UNIX that will return ip adress based on
>looking up MX record for a given mail domain ?
>if not, how do I do this then ?
--
GTE Internetworking, Powered by BBN, Cambridge, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
1. Prevent access to linux server when mac adress does not match ip adress
Hello,
i am running a red hat 6.2 server which is used for internet ip traffic
measurement.
All clients connected to this server get a ip adress through dhcp. To be
sure that every client keeps getting the smake ip adress when it connects
the dhcp server gives ip adresses to the client pc's based on their mac
adress. This works fine as long as the clients are not changing their ip
adress manualy.
Is there a way to prevent access to the linux server when the ip adress of a
certain client does not match the mac adress.
Thanks,
Kris Houben
2. 2 monitors and 2 cdrom drives
3. dynamic ip-adresses to fix adresses
5. PPP with dynamic IP adresses and hosts.equiv ?
9. PPP don't gets right IP-Adress
10. XDMCP gets wrong IP Adress
11. getting windows tcp/ip adresses
12. sshd reports "Cannot reverse map adress <calling host's IP>"
13. 2 ip adresses, different subnet, ping reply from ip in other subnet ?