Yahoo email

jtfranksjtfranks Member Posts: 32 ■■□□□□□□□□
I need to block yahoo email. Can anyone give me the IP range for their mail servers? Thanks.
Justin

Comments

  • Silver BulletSilver Bullet Member Posts: 676
    C:\>nslookup

    > set type=mx
    > yahoo.com
    Server: XXXXXXXXX
    Address: XXXXXXXXXX

    Non-authoritative answer:
    yahoo.com MX preference = 1, mail exchanger = mx3.mail.yahoo.com
    yahoo.com MX preference = 1, mail exchanger = mx1.mail.yahoo.com
    yahoo.com MX preference = 1, mail exchanger = mx2.mail.yahoo.com

    mx1.mail.yahoo.com internet address = 4.79.181.14
    mx1.mail.yahoo.com internet address = 4.79.181.15
    mx1.mail.yahoo.com internet address = 4.79.181.168
    mx1.mail.yahoo.com internet address = 67.28.113.71
    mx1.mail.yahoo.com internet address = 67.28.113.73
    mx1.mail.yahoo.com internet address = 67.28.113.19
    mx2.mail.yahoo.com internet address = 4.79.181.136
    mx2.mail.yahoo.com internet address = 4.79.181.168
    mx2.mail.yahoo.com internet address = 67.28.113.70
    mx2.mail.yahoo.com internet address = 67.28.113.72
    mx2.mail.yahoo.com internet address = 4.79.181.135
    mx3.mail.yahoo.com internet address = 67.28.113.10
    mx3.mail.yahoo.com internet address = 4.79.181.168
    mx3.mail.yahoo.com internet address = 4.79.181.134
    mx3.mail.yahoo.com internet address = 67.28.113.74
    mx3.mail.yahoo.com internet address = 4.79.181.12
    >
  • jtfranksjtfranks Member Posts: 32 ■■□□□□□□□□
  • sprkymrksprkymrk Member Posts: 4,884 ■■■□□□□□□□
    I think there are too many. An nslookup will show several, but it could rotate your results. Here is a quick output:

    C:\>nslookup
    > set type=mx
    > yahoo.com

    Non-authoritative answer:
    yahoo.com MX preference = 1, mail exchanger = mx1.mail.yahoo.com
    yahoo.com MX preference = 1, mail exchanger = mx2.mail.yahoo.com
    yahoo.com MX preference = 1, mail exchanger = mx3.mail.yahoo.com

    mx1.mail.yahoo.com internet address = 4.79.181.15
    mx1.mail.yahoo.com internet address = 4.79.181.168
    mx1.mail.yahoo.com internet address = 67.28.113.19
    mx1.mail.yahoo.com internet address = 67.28.113.71
    mx1.mail.yahoo.com internet address = 67.28.113.73
    mx1.mail.yahoo.com internet address = 4.79.181.14


    Also keep in mind it may be better to block by host name if you have a proxy, since it's really probably the web servers you want to block. Something like http://mail.yahoo.com. I got this on dnstuff.com:

    Searching for mail.yahoo.com A record at j.root-servers.net [192.58.128.30]: Got referral to A.GTLD-SERVERS.NET. (zone: com.)
    Searching for mail.yahoo.com A record at A.GTLD-SERVERS.NET. [192.5.6.30]: Got referral to ns2.yahoo.com. (zone: yahoo.com.) Searching for mail.yahoo.com A record at ns2.yahoo.com. [66.163.169.170]: Got CNAME of login.yahoo.com. and referral to a.root-servers.net
    Got CNAME of login.yahoo.akadns.net. and referral to f.root-servers.net
    Searching for login.yahoo.akadns.net A record at i.root-servers.net [192.36.148.17]: Got referral to E.GTLD-SERVERS.net. (zone: net.)Searching for login.yahoo.akadns.net A record at E.GTLD-SERVERS.net. [192.12.94.30]: Got referral to usw5.akadns.net. (zone: akadns.net.)
    Searching for login.yahoo.akadns.net A record at usw5.akadns.net. [63.241.73.200]: Reports login.yahoo.akadns.net.

    Answer:
    Domain Type Class TTL Answer login.yahoo.akadns.net. A IN 60 209.73.177.115

    NOTE: One or more CNAMEs were encountered. mail.yahoo.com is really login.yahoo.akadns.net. [mail.yahoo.com->login.yahoo.com->login.yahoo.akadns.net]
    All things are possible, only believe.
  • Silver BulletSilver Bullet Member Posts: 676
    sprkymrk wrote:
    I think there are too many. An nslookup will show several, but it could rotate your results. Here is a quick output:

    C:\>nslookup
    > set type=mx
    > yahoo.com

    Non-authoritative answer:
    yahoo.com MX preference = 1, mail exchanger = mx1.mail.yahoo.com
    yahoo.com MX preference = 1, mail exchanger = mx2.mail.yahoo.com
    yahoo.com MX preference = 1, mail exchanger = mx3.mail.yahoo.com

    mx1.mail.yahoo.com internet address = 4.79.181.15
    mx1.mail.yahoo.com internet address = 4.79.181.168
    mx1.mail.yahoo.com internet address = 67.28.113.19
    mx1.mail.yahoo.com internet address = 67.28.113.71
    mx1.mail.yahoo.com internet address = 67.28.113.73
    mx1.mail.yahoo.com internet address = 4.79.181.14

    HAHAHAHA
    My nslookup got more results than yours
    HAHAHAHA icon_lol.gif
  • jtfranksjtfranks Member Posts: 32 ■■□□□□□□□□
    I do have a proxy and I don't need to block yahoo.com just the mail. I am blocking mail.yahoo.com and login.yahoo.com, but it's not working right. I need to block this https://login.yahoo.com/config/mail?.intl=us and I think it would work just fine.
    Justin
  • sprkymrksprkymrk Member Posts: 4,884 ■■■□□□□□□□
    sprkymrk wrote:
    I think there are too many. An nslookup will show several, but it could rotate your results. Here is a quick output:

    C:\>nslookup
    > set type=mx
    > yahoo.com

    Non-authoritative answer:
    yahoo.com MX preference = 1, mail exchanger = mx1.mail.yahoo.com
    yahoo.com MX preference = 1, mail exchanger = mx2.mail.yahoo.com
    yahoo.com MX preference = 1, mail exchanger = mx3.mail.yahoo.com

    mx1.mail.yahoo.com internet address = 4.79.181.15
    mx1.mail.yahoo.com internet address = 4.79.181.168
    mx1.mail.yahoo.com internet address = 67.28.113.19
    mx1.mail.yahoo.com internet address = 67.28.113.71
    mx1.mail.yahoo.com internet address = 67.28.113.73
    mx1.mail.yahoo.com internet address = 4.79.181.14

    HAHAHAHA
    My nslookup got more results than yours
    HAHAHAHA icon_lol.gif

    Check it out, I just did it again and got these results (no kidding):
      Non-authoritative answer: yahoo.com MX preference = 1, mail exchanger = mx3.mail.yahoo.com yahoo.com MX preference = 1, mail exchanger = mx1.mail.yahoo.com yahoo.com MX preference = 1, mail exchanger = mx2.mail.yahoo.com yahoo.com nameserver = ns5.yahoo.com yahoo.com nameserver = ns1.yahoo.com yahoo.com nameserver = ns2.yahoo.com yahoo.com nameserver = ns3.yahoo.com yahoo.com nameserver = ns4.yahoo.com mx1.mail.yahoo.com internet address = 67.28.113.71 mx1.mail.yahoo.com internet address = 67.28.113.73 mx1.mail.yahoo.com internet address = 4.79.181.14 mx1.mail.yahoo.com internet address = 4.79.181.15 mx1.mail.yahoo.com internet address = 4.79.181.168 mx1.mail.yahoo.com internet address = 67.28.113.19 mx2.mail.yahoo.com internet address = 67.28.113.70 mx2.mail.yahoo.com internet address = 67.28.113.72 mx2.mail.yahoo.com internet address = 4.79.181.135 mx2.mail.yahoo.com internet address = 4.79.181.136 mx2.mail.yahoo.com internet address = 4.79.181.168 mx3.mail.yahoo.com internet address = 4.79.181.134 mx3.mail.yahoo.com internet address = 4.79.181.168 mx3.mail.yahoo.com internet address = 67.28.113.10 mx3.mail.yahoo.com internet address = 67.28.113.74 mx3.mail.yahoo.com internet address = 4.79.181.12 ns1.yahoo.com internet address = 66.218.71.63 ns2.yahoo.com internet address = 66.163.169.170 ns3.yahoo.com internet address = 217.12.4.104 ns4.yahoo.com internet address = 68.142.196.63

    It's like I mentioned, they use a rotating DNS method because of the large number of servers they have. I don't think blocking by IP is a good strategy. A proxy server is what's needed, or else add a DNS entry on your system to resolve mail.yahoo.com to 127.0.0.1.

    But anyway SilverBullet your NSLookup must be cheating if it's better than mine. icon_lol.gif
    All things are possible, only believe.
Sign In or Register to comment.