IP to ASN

Short answer

What is an ASN?

An ASN (Autonomous System Number) is the number that identifies a network under one operator on the internet, for example AS2119 for Telenor Norway or AS8075 for Microsoft. If you look up an IP address, you see which ASN and which operator it belongs to. It shows who is really behind a server that sends email.

Enter the IP address.

What an ASN is

An autonomous system (AS) is a network under one operator, like Telenor, Microsoft or Google. The ASN tells who is really behind an IP address.

How to use the tool

Enter the IP address. You get the ASN, the name of the operator, the network block the address is announced in, and the country. Use it to group unknown senders in the DMARC reports: many IPs from the same ASN are often the same service.

Examples of ASNs

  • AS8075: Microsoft, including Microsoft 365 and Outlook.com.
  • AS15169: Google, including Gmail and Google Workspace.
  • AS2119: Telenor Norway.
  • AS13335: Cloudflare.

Questions and answers

Where does the data come from?

From Team Cymru’s free IP to ASN service via DNS, and RDAP at the registries.

What is the difference between ASN and IP WHOIS?

ASN shows which network routes the address on the internet. IP WHOIS shows who is registered as holder of the address range and the abuse contact. Often it is the same company, but not always.

Can I block a whole ASN?

Technically yes, in the firewall or the email filter, but it also hits every other customer in that network. Only use it against networks that only send abuse.

How do I use ASN in DMARC work?

Look at the senders that fail in the reports. If the ASN belongs to a service you use, like Microsoft or a newsletter service, it must be set up with SPF and DKIM. If it is an unknown network, it is probably spoofing that DMARC should stop.

Can one IP address belong to several ASNs?

It happens, for example when a network is announced by both the customer and the provider. The tool shows the ASN given for the address.