1. Resolve Decimal IP Addresses with this Simple C Program
/* TURN A 32 BIT DECIMAL IP ADDRESS INTO 4 QUADS */
/* SPAMMERS CAN RUN, BUT THEY CAN'T HIDE */
/* Felix Tilley */
/* No Guarantees on how this will run on your computer. */
/* An unsigned long must be AT LEAST 32 bits for this to work */
/* An unsigned long must be AT LEAST 32 bits for this to work */
/* An unsigned long must be AT LEAST 32 bits for this to work */
/* NO JOKE */
#include <stdio.h>
main()
{
unsigned long webaddr, quad0, quad1, quad2, quad3, quotient, temp, remainder;
printf ("Enter web address as decimal: ");
scanf ("%lu", &webaddr);
printf ("\nWEB ADDRESS: %lu \n", webaddr);
quad0 = webaddr % 256;
quotient = webaddr / 256;
quad1 = quotient % 256;
quotient = quotient / 256;
quad2 = quotient % 256;
quotient = quotient / 256;
quad3 = quotient;
printf ("QUAD IP ADDRESS: %lu\.%lu\.%lu\.%lu \n", quad3,quad2,quad1,quad0);
printf ("\nHope this helps.\nFelix Tilley \n");
exit(0) ;
2. Question about HPUX Pine implementation
5. How to configure sendmail when addressing by IP addresses (user@[ip-address-of-sendmail-
7. Cannot resolve IP addresses with named daemon running.
9. Blocking relay IP addresses that don't resolve?
10. sendmail.mc and stop ip-adresses in the header that don't resolve right
11. Require relay IP to resolve
12. Virtual hosts - IP based using own IP address
13. relaying on non resolving ip's