]> git.proxmox.com Git - pve-network.git/blob - test/dns/powerdns/expected.del_a_multiple_record.ipv6
tests: add dns tests
[pve-network.git] / test / dns / powerdns / expected.del_a_multiple_record.ipv6
1 bless( {
2 '_content' => '{"rrsets":[{"changetype":"REPLACE","name":"myhostname.domain.com.","records":[{"content":"2001:4860:4860::8844","disabled":false,"name":"myhostname.domain.com.","priority":0,"type":"AAAA"}],"ttl":"3600","type":"AAAA"}]}',
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' );