RIP RIP

RIP is a simple NS server that extracts IP address from the requested name and sends it back in the response.


Available rr's

(something that generate response)

  • <IP> - returns IP address (guesses IPv4/IPv6)
  • <IPv4>.[4|v4] - strictly returns IPv4 address only
  • <IPv6>.[6|v6] - strictly returns IPv6 address only
  • <cname>.[c|cname] - return CNAME record with <cname>
  • <target>.[p|proxy] - resolve <target> name and returns it

Available containers

(something that holds rr or another container)

  • <rr>.<container>.[r|random] - pick random rr/container
  • <rr>.<container>.[l|loop] - iterate over rr/container
  • <rr1>.<rr0>.[s|sticky] - alias for loop (<rr1-ttl-30>.<rr0>.l)

Available limiters

(something that limit this kind of responses:)

  • cnt-<num> - use rr <num> requests
  • ttl-<duration> - use rr <duration> duration

Examples

IPv4

  • 1-1-1-1.{{zone}}
    => returns 1.1.1.1
  • 1-1-1-1.v4.{{zone}}
    => returns 1.1.1.1
  • foo.1-1-1-1.v4.{{zone}}
    => returns 1.1.1.1
  • bar.foo.1-1-1-1.v4.{{zone}}
    => returns 1.1.1.1
  • 1010101.v4.{{zone}}
    => returns 1.1.1.1

IPv6

  • 2a01-7e01--f03c-91ff-fe3b-c9ba.{{zone}}
    => returns 2a01:7e01::f03c:91ff:fe3b:c9ba
  • 2a01-7e01--f03c-91ff-fe3b-c9ba.v6.{{zone}}
    => returns 2a01:7e01::f03c:91ff:fe3b:c9ba
  • 2a017e0100000000f03c91fffe3bc9ba.v6.{{zone}}
    => returns 2a01:7e01::f03c:91ff:fe3b:c9ba
  • foo.2a01-7e01--f03c-91ff-fe3b-c9ba.v6.{{zone}}
    => returns 2a01:7e01::f03c:91ff:fe3b:c9ba

Loop

  • 8ba299a7.8ba299a8.loop.{{zone}}
    => loop over 139.162.153.168 and 139.162.153.167
  • 8ba299a7.v4-ttl-5s.8ba299a8.v4-cnt-5.loop.{{zone}}
    => returns 139.162.153.168 (5 times), then 139.162.153.167 (next 5s) and loop again
  • 8ba299a7.v4-ttl-5s.b32-onxw2zlunbuw4zzomnxw63bnmnxs44tv.c-cnt-5.loop.{{zone}}
    => returns CNAME something.cool.co.ru (5 times), then 139.162.153.167 (next 5s) and loop again

CName

  • ya.ru.c.{{zone}}
    => returns CNAME ya.ru
  • google.com.c.{{zone}}
    => returns CNAME google.com
  • b32-onxw2zlunbuw4zzomnxw63bnmnxs44tv.c.{{zone}}
    => returns CNAME something.cool.co.ru