]> git.proxmox.com Git - pve-network.git/blob - test/dns/powerdns/expected.add_ptr_record.ipv4
tests: add dns tests
[pve-network.git] / test / dns / powerdns / expected.add_ptr_record.ipv4
1 bless( {
2 '_content' => '{"rrsets":[{"changetype":"REPLACE","name":"1.0.0.10.in-addr.arpa.","records":[{"content":"myhostname.","disabled":false,"name":"1.0.0.10.in-addr.arpa.","priority":0,"type":"PTR"}],"ttl":"3600","type":"PTR"}]}',
3 '_headers' => bless( {
4 '::std_case' => {
5 'x-api-key' => 'X-API-Key'
6 },
7 'content-type' => 'application/json; charset=UTF-8',
8 'x-api-key' => '1234'
9 }, 'HTTP::Headers' ),
10 '_method' => 'PATCH',
11 '_uri' => bless( do{\(my $o = 'http://localhost:8881/api/v1/servers/localhost/zones/domain.com')}, 'URI::http' )
12 }, 'HTTP::Request' );
13