Update reverse-lookup output

- add the toplevel . to PTR lookup output
- improve the IPv4 regexp readability
- improve comments