Results 1 to 2 of 2

Thread: RS Server IP Grabber

  1. #1
    Join Date
    Apr 2006
    Posts
    101
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default RS Server IP Grabber

    Needed a quick way to grab the IP's to allow RS on my firewall. For anyone interested.

    Code:
    using System.Net;
    // loop through 200 worlds, because i dont know how many there are.
                for (int i = 1; i < 200; i++)
                {
                    try
                    {
                        Console.Out.WriteLine(Dns.Resolve("world" + i.ToString() + ".runescape.com").AddressList[0].ToString());
                    }
                    catch (Exception) { }
                }
    Code:
    64.94.237.51
    216.115.77.181
    64.79.147.61
    64.79.147.162
    213.146.191.88
    64.94.237.23
    216.115.77.182
    216.115.77.129
    64.94.237.52
    213.146.191.69
    82.211.114.113
    202.58.143.22
    216.115.77.83
    216.115.77.84
    202.58.143.23
    82.211.114.96
    213.146.191.90
    64.94.237.10
    213.146.191.91
    216.115.77.86
    213.146.191.94
    64.94.237.11
    82.211.114.97
    82.211.114.98
    82.211.114.99
    213.146.191.95
    64.94.237.15
    213.146.191.73
    64.94.237.24
    216.115.77.133
    64.94.237.25
    213.146.191.96
    64.94.237.26
    64.79.147.72
    64.79.147.73
    82.211.114.40
    216.115.77.70
    64.79.147.80
    64.94.237.16
    64.79.147.82
    64.79.147.83
    64.94.237.60
    64.79.147.63
    64.94.237.12
    64.94.237.59
    64.94.237.58
    216.115.77.131
    64.94.237.13
    202.58.143.24
    202.58.143.25
    213.146.191.79
    64.94.237.50
    82.211.114.114
    213.146.191.81
    64.79.147.50
    82.211.114.41
    64.79.147.51
    64.94.237.57
    64.94.237.56
    64.94.237.55
    64.94.237.27
    216.115.77.77
    82.211.114.146
    64.94.237.33
    216.115.77.80
    64.94.237.32
    82.211.114.106
    82.211.114.107
    213.146.191.60
    64.94.237.31
    82.211.114.42
    64.79.147.170
    64.79.147.64
    64.79.147.65
    64.79.147.66
    64.94.237.30
    64.94.237.54
    64.94.237.34
    64.94.237.29
    82.211.114.115
    213.146.191.61
    82.211.114.43
    82.211.114.46
    82.211.114.47
    64.79.147.86
    64.79.147.87
    64.79.147.60
    82.211.114.48
    64.94.237.28
    216.115.77.160
    64.94.237.44
    82.211.114.119
    64.79.147.92
    216.115.77.180
    64.79.147.94
    64.79.147.95
    64.94.237.43
    64.94.237.42
    64.94.237.41
    64.94.237.40
    213.146.191.87
    213.146.191.93
    64.94.237.61
    64.94.237.62
    213.146.191.83
    213.146.191.65
    202.58.143.15
    202.58.143.16
    202.58.143.17
    202.58.143.18
    202.58.143.19
    202.58.143.21
    216.115.77.72
    64.94.237.35
    64.94.237.36
    64.94.237.63
    216.115.77.183
    82.211.114.56
    213.146.191.66
    82.211.114.58
    82.211.114.59
    82.211.114.60
    213.146.191.67
    82.211.114.62
    64.79.147.99
    216.115.77.127
    64.79.147.101

  2. #2
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default

    Or some simply bash stuff (change host to dig +silent a, or something).
    Code:
     for i in {1..199}; do host world$i.runescape.com; done
    Though don't know why you're explicitly defining IPs in a firewall, sounds a bit overkill. GL with what you're doing!


    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •