NAME

DNS::Oterica::RecordMaker::TinyDNS - a tinydns recordmaker for DNSO.

VERSION

version 0.200

DESCRIPTION

This role provides logic for generating lines for the tinydns-data program to consume.

METHODS

comment

my $line = $rec->comment("Hello, world!");

This returns a line that is a one-line commment.

location

This returns a location line.

a_and_ptr

Generate an = line, the bread and butter A and PTR record pair for a hostname and IP.

ptr

Generate an ^ line, for the reverse DNS of an IP address.

AUTHOR

Ricardo SIGNES <rjbs@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Ricardo SIGNES.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.