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>requeststtl-<duration>- use rr<duration>duration
Examples
IPv4
1-1-1-1.{{zone}}=> returns1.1.1.11-1-1-1.v4.{{zone}}=> returns1.1.1.1foo.1-1-1-1.v4.{{zone}}=> returns1.1.1.1bar.foo.1-1-1-1.v4.{{zone}}=> returns1.1.1.11010101.v4.{{zone}}=> returns1.1.1.1
IPv6
2a01-7e01--f03c-91ff-fe3b-c9ba.{{zone}}=> returns2a01:7e01::f03c:91ff:fe3b:c9ba2a01-7e01--f03c-91ff-fe3b-c9ba.v6.{{zone}}=> returns2a01:7e01::f03c:91ff:fe3b:c9ba2a017e0100000000f03c91fffe3bc9ba.v6.{{zone}}=> returns2a01:7e01::f03c:91ff:fe3b:c9bafoo.2a01-7e01--f03c-91ff-fe3b-c9ba.v6.{{zone}}=> returns2a01:7e01::f03c:91ff:fe3b:c9ba
Loop
8ba299a7.8ba299a8.loop.{{zone}}=> loop over139.162.153.168and139.162.153.1678ba299a7.v4-ttl-5s.8ba299a8.v4-cnt-5.loop.{{zone}}=> returns139.162.153.168(5 times), then139.162.153.167(next 5s) and loop again8ba299a7.v4-ttl-5s.b32-onxw2zlunbuw4zzomnxw63bnmnxs44tv.c-cnt-5.loop.{{zone}}=> returns CNAMEsomething.cool.co.ru(5 times), then139.162.153.167(next 5s) and loop again
CName
ya.ru.c.{{zone}}=> returns CNAMEya.rugoogle.com.c.{{zone}}=> returns CNAMEgoogle.comb32-onxw2zlunbuw4zzomnxw63bnmnxs44tv.c.{{zone}}=> returns CNAMEsomething.cool.co.ru