Ip Blocking from domain

Home Forums Discussions Support Ip Blocking from domain

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5397
    vampie
    Participant

      Is there any way to get hostname/domain from tcp header using your library

      I need only google.com ( not IP ) by listening packets..
      or Should I need to sniff 53 port for DNS UDP’s

      what if dns cached by os or browser?

      I need real time host getting..

      #7155
      Vadim Smirnov
      Keymaster

        You can query all IP addresses corresponding google.com:

        Addresses: 2a00:1450:4002:800::1003
        188.43.67.102
        188.43.67.106
        188.43.67.108
        188.43.67.109
        188.43.67.113
        188.43.67.117
        188.43.67.121
        188.43.67.123
        188.43.67.79
        188.43.67.83
        188.43.67.87
        188.43.67.91
        188.43.67.93
        188.43.67.94
        188.43.67.98
        and monitor packets to/from these IP’s. If you suspect that IP of google.com may change you can also monitor DNS queries and update the domain IP list accordingly.

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.