| 1 |
Feature: DNS Records |
| 2 |
Manage DNS records |
| 3 |
|
| 4 |
@seed |
| 5 |
Scenario: Create a new DNS zone |
| 6 |
Given DNS zone "my-dns-zone" exists |
| 7 |
|
| 8 |
@test |
| 9 |
Scenario: Create a new DNS 'A' record |
| 10 |
Given I am logged in as admin |
| 11 |
And I am on "dns-zones/my-dns-zone./dns-records" page |
| 12 |
|
| 13 |
When I create a DNS record A with name "my-a-dns-record" |
| 14 |
Then I should see DNS record "my-a-dns-record" with type "A" and data "192.168.66.67" |
| 15 |
|
| 16 |
@cleanup |
| 17 |
Scenario: Delete DNS zone |
| 18 |
Given I delete DNS zone "my-dns-zone." |
| 19 |
|
| 20 |
@seed |
| 21 |
Scenario: Create a new DNS zone |
| 22 |
Given DNS zone "my-dns-zone" exists |
| 23 |
|
| 24 |
@test |
| 25 |
Scenario: Create a new DNS 'AAAA' record |
| 26 |
Given I am logged in as admin |
| 27 |
And I am on "dns-zones/my-dns-zone./dns-records" page |
| 28 |
|
| 29 |
When I create a DNS record AAAA with name "my-aaaa-dns-record" |
| 30 |
Then I should see DNS record "my-aaaa-dns-record" with type "AAAA" and data "2001:db8::1" |
| 31 |
|
| 32 |
@cleanup |
| 33 |
Scenario: Delete DNS zone |
| 34 |
Given I delete DNS zone "my-dns-zone." |
| 35 |
|
| 36 |
@seed |
| 37 |
Scenario: Create a new DNS zone |
| 38 |
Given DNS zone "my-dns-zone" exists |
| 39 |
|
| 40 |
@test |
| 41 |
Scenario: Create a new DNS 'A6' record |
| 42 |
Given I am logged in as admin |
| 43 |
And I am on "dns-zones/my-dns-zone./dns-records" page |
| 44 |
|
| 45 |
When I create a DNS record A6 with name "my-a6-dns-record" |
| 46 |
Then I should see DNS record "my-a6-dns-record" with type "A6" and data "record data" |
| 47 |
|
| 48 |
@cleanup |
| 49 |
Scenario: Delete DNS zone |
| 50 |
Given I delete DNS zone "my-dns-zone." |
| 51 |
|
| 52 |
@seed |
| 53 |
Scenario: Create a new DNS zone |
| 54 |
Given DNS zone "my-dns-zone" exists |
| 55 |
|
| 56 |
@test |
| 57 |
Scenario: Create a new DNS 'AFSDB' record |
| 58 |
Given I am logged in as admin |
| 59 |
And I am on "dns-zones/my-dns-zone./dns-records" page |
| 60 |
|
| 61 |
When I create a DNS record AFSDB with name "my-afsdb-dns-record" |
| 62 |
Then I should see DNS record "my-afsdb-dns-record" with type "AFSDB" and data "1 hostname" |
| 63 |
|
| 64 |
@cleanup |
| 65 |
Scenario: Delete DNS zone |
| 66 |
Given I delete DNS zone "my-dns-zone." |
| 67 |
|
| 68 |
@seed |
| 69 |
Scenario: Create a new DNS zone |
| 70 |
Given DNS zone "my-dns-zone" exists |
| 71 |
|
| 72 |
@test |
| 73 |
Scenario: Create a new DNS 'CNAME' record |
| 74 |
Given I am logged in as admin |
| 75 |
And I am on "dns-zones/my-dns-zone./dns-records" page |
| 76 |
|
| 77 |
When I create a DNS record CNAME with name "my-cname-dns-record" |
| 78 |
Then I should see DNS record "my-cname-dns-record" with type "CNAME" and data "hostname.example.com" |
| 79 |
|
| 80 |
@cleanup |
| 81 |
Scenario: Delete DNS zone |
| 82 |
Given I delete DNS zone "my-dns-zone." |
| 83 |
|
| 84 |
@seed |
| 85 |
Scenario: Create a new DNS zone |
| 86 |
Given DNS zone "my-dns-zone" exists |
| 87 |
|
| 88 |
@test |
| 89 |
Scenario: Create a new DNS 'DLV' record |
| 90 |
Given I am logged in as admin |
| 91 |
And I am on "dns-zones/my-dns-zone./dns-records" page |
| 92 |
|
| 93 |
When I create a DNS record DLV with name "my-dlv-dns-record" |
| 94 |
Then I should see DNS record "my-dlv-dns-record" with type "DLV" and data "34505 8 2 A3746E9665885C21431E75193239C6A481B23E3905553655CE9C2DD4C02F2393" |
| 95 |
|
| 96 |
@cleanup |
| 97 |
Scenario: Delete DNS zone |
| 98 |
Given I delete DNS zone "my-dns-zone." |
| 99 |
|
| 100 |
@seed |
| 101 |
Scenario: Create a new DNS zone |
| 102 |
Given DNS zone "my-dns-zone" exists |
| 103 |
|
| 104 |
@test |
| 105 |
Scenario: Create a new DNS 'DNAME' record |
| 106 |
Given I am logged in as admin |
| 107 |
And I am on "dns-zones/my-dns-zone./dns-records" page |
| 108 |
|
| 109 |
When I create a DNS record DNAME with name "my-dname-dns-record" |
| 110 |
Then I should see DNS record "my-dname-dns-record" with type "DNAME" and data "target.example.com" |
| 111 |
|
| 112 |
@cleanup |
| 113 |
Scenario: Delete DNS zone |
| 114 |
Given I delete DNS zone "my-dns-zone." |
| 115 |
|
| 116 |
@seed |
| 117 |
Scenario: Create a new DNS zone |
| 118 |
Given DNS zone "my-dns-zone" exists |
| 119 |
|
| 120 |
@test |
| 121 |
Scenario: Create a new DNS 'KX' record |
| 122 |
Given I am logged in as admin |
| 123 |
And I am on "dns-zones/my-dns-zone./dns-records" page |
| 124 |
|
| 125 |
When I create a DNS record KX with name "my-kx-dns-record" |
| 126 |
Then I should see DNS record "my-kx-dns-record" with type "KX" and data "10 exchanger.example.com" |
| 127 |
|
| 128 |
@cleanup |
| 129 |
Scenario: Delete DNS zone |
| 130 |
Given I delete DNS zone "my-dns-zone." |
| 131 |
|
| 132 |
@seed |
| 133 |
Scenario: Create a new DNS zone |
| 134 |
Given DNS zone "my-dns-zone" exists |
| 135 |
|
| 136 |
@test |
| 137 |
Scenario: Create a new DNS 'LOC' record |
| 138 |
Given I am logged in as admin |
| 139 |
And I am on "dns-zones/my-dns-zone./dns-records" page |
| 140 |
|
| 141 |
When I create a DNS record LOC with name "my-loc-dns-record" |
| 142 |
Then I should see DNS record "my-loc-dns-record" with type "LOC" and data "40 0 0 N 74 0 0 W 0 100 10 10" |
| 143 |
|
| 144 |
@cleanup |
| 145 |
Scenario: Delete DNS zone |
| 146 |
Given I delete DNS zone "my-dns-zone." |
| 147 |
|
| 148 |
@seed |
| 149 |
Scenario: Create a new DNS zone |
| 150 |
Given DNS zone "my-dns-zone" exists |
| 151 |
|
| 152 |
@test |
| 153 |
Scenario: Create a new DNS 'MX' record |
| 154 |
Given I am logged in as admin |
| 155 |
And I am on "dns-zones/my-dns-zone./dns-records" page |
| 156 |
|
| 157 |
When I create a DNS record MX with name "my-mx-dns-record" |
| 158 |
Then I should see DNS record "my-mx-dns-record" with type "MX" and data "10 mail.example.com" |
| 159 |
|
| 160 |
@cleanup |
| 161 |
Scenario: Delete DNS zone |
| 162 |
Given I delete DNS zone "my-dns-zone." |
| 163 |
|
| 164 |
@seed |
| 165 |
Scenario: Create a new DNS zone |
| 166 |
Given DNS zone "my-dns-zone" exists |
| 167 |
|
| 168 |
@test |
| 169 |
Scenario: Create a new DNS 'NAPTR' record |
| 170 |
Given I am logged in as admin |
| 171 |
And I am on "dns-zones/my-dns-zone./dns-records" page |
| 172 |
|
| 173 |
When I create a DNS record NAPTR with name "my-naptr-dns-record" |
| 174 |
Then I should see DNS record "my-naptr-dns-record" with type "NAPTR" and data "100 10 U sip .* sip.example.com" |
| 175 |
|
| 176 |
@cleanup |
| 177 |
Scenario: Delete DNS zone |
| 178 |
Given I delete DNS zone "my-dns-zone." |
| 179 |
|
| 180 |
@seed |
| 181 |
Scenario: Create a new DNS zone |
| 182 |
Given DNS zone "my-dns-zone" exists |
| 183 |
|
| 184 |
@test |
| 185 |
Scenario: Create a new DNS 'PTR' record |
| 186 |
Given I am logged in as admin |
| 187 |
And I am on "dns-zones/my-dns-zone./dns-records" page |
| 188 |
|
| 189 |
When I create a DNS record PTR with name "my-ptr-dns-record" |
| 190 |
Then I should see DNS record "my-ptr-dns-record" with type "PTR" and data "hostname.example.com" |
| 191 |
|
| 192 |
@cleanup |
| 193 |
Scenario: Delete DNS zone |
| 194 |
Given I delete DNS zone "my-dns-zone." |
| 195 |
|
| 196 |
@seed |
| 197 |
Scenario: Create a new DNS zone |
| 198 |
Given DNS zone "my-dns-zone" exists |
| 199 |
|
| 200 |
@test |
| 201 |
Scenario: Create a new DNS 'SRV' record |
| 202 |
Given I am logged in as admin |
| 203 |
And I am on "dns-zones/my-dns-zone./dns-records" page |
| 204 |
|
| 205 |
When I create a DNS record SRV with name "my-srv-dns-record" |
| 206 |
Then I should see DNS record "my-srv-dns-record" with type "SRV" and data "10 5 8080 target.example.com" |
| 207 |
|
| 208 |
@cleanup |
| 209 |
Scenario: Delete DNS zone |
| 210 |
Given I delete DNS zone "my-dns-zone." |
| 211 |
|
| 212 |
@seed |
| 213 |
Scenario: Create a new DNS zone |
| 214 |
Given DNS zone "my-dns-zone" exists |
| 215 |
|
| 216 |
@test |
| 217 |
Scenario: Create a new DNS 'SSHFP' record |
| 218 |
Given I am logged in as admin |
| 219 |
And I am on "dns-zones/my-dns-zone./dns-records" page |
| 220 |
|
| 221 |
When I create a DNS record SSHFP with name "my-sshfp-dns-record" |
| 222 |
Then I should see DNS record "my-sshfp-dns-record" with type "SSHFP" and data "1 1 d4b01d51ebe9c82a2e8b92425a8c9fc2b818f2e3" |
| 223 |
|
| 224 |
@cleanup |
| 225 |
Scenario: Delete DNS zone |
| 226 |
Given I delete DNS zone "my-dns-zone." |
| 227 |
|
| 228 |
@seed |
| 229 |
Scenario: Create a new DNS zone |
| 230 |
Given DNS zone "my-dns-zone" exists |
| 231 |
|
| 232 |
@test |
| 233 |
Scenario: Create a new DNS 'TLSA' record |
| 234 |
Given I am logged in as admin |
| 235 |
And I am on "dns-zones/my-dns-zone./dns-records" page |
| 236 |
|
| 237 |
When I create a DNS record TLSA with name "my-tlsa-dns-record" |
| 238 |
Then I should see DNS record "my-tlsa-dns-record" with type "TLSA" and data "1 1 1 data" |
| 239 |
|
| 240 |
@cleanup |
| 241 |
Scenario: Delete DNS zone |
| 242 |
Given I delete DNS zone "my-dns-zone." |
| 243 |
|
| 244 |
@seed |
| 245 |
Scenario: Create a new DNS zone |
| 246 |
Given DNS zone "my-dns-zone" exists |
| 247 |
|
| 248 |
@test |
| 249 |
Scenario: Create a new DNS 'TXT' record |
| 250 |
Given I am logged in as admin |
| 251 |
And I am on "dns-zones/my-dns-zone./dns-records" page |
| 252 |
|
| 253 |
When I create a DNS record TXT with name "my-txt-dns-record" |
| 254 |
Then I should see DNS record "my-txt-dns-record" with type "TXT" and data "text record data" |
| 255 |
|
| 256 |
@cleanup |
| 257 |
Scenario: Delete DNS zone |
| 258 |
Given I delete DNS zone "my-dns-zone." |
| 259 |
|
| 260 |
@seed |
| 261 |
Scenario: Create a new DNS zone |
| 262 |
Given DNS zone "my-dns-zone" exists |
| 263 |
|
| 264 |
@test |
| 265 |
Scenario: Create a new DNS 'URI' record |
| 266 |
Given I am logged in as admin |
| 267 |
And I am on "dns-zones/my-dns-zone./dns-records" page |
| 268 |
|
| 269 |
When I create a DNS record URI with name "my-uri-dns-record" |
| 270 |
Then I should see DNS record "my-uri-dns-record" with type "URI" and data "10 5 \"https://example.com\"" |
| 271 |
|
| 272 |
@cleanup |
| 273 |
Scenario: Delete DNS zone |
| 274 |
Given I delete DNS zone "my-dns-zone." |
| 275 |
|
| 276 |
@seed |
| 277 |
Scenario: Create new DNS zone |
| 278 |
Given DNS zone "my-new-dns-zone" exists |
| 279 |
|
| 280 |
@test |
| 281 |
Scenario: Create a new DNS 'NS' + 'DS' record |
| 282 |
Given I am logged in as admin |
| 283 |
And I am on "dns-zones/my-new-dns-zone./dns-records" page |
| 284 |
|
| 285 |
When I create a DNS record NS with name "secure" |
| 286 |
Then I should see DNS record "secure" with type "NS" and data "server.ipa.demo" |
| 287 |
|
| 288 |
When I navigate to "dns-zones/my-new-dns-zone./dns-records" page |
| 289 |
Then I should be on "dns-zones/my-new-dns-zone./dns-records" page |
| 290 |
|
| 291 |
When I create a DNS record DS with name "secure" |
| 292 |
Then I should see DNS record "secure" with type "DS, NS" and data "20326 8 2 E06D44B80B8F1D39A95C0B0D7C65D08458E880409BBC683457104237C7F53853, server.ipa.demo" |
| 293 |
|
| 294 |
@cleanup |
| 295 |
Scenario: Delete DNS zone |
| 296 |
Given I delete DNS zone "my-new-dns-zone." |
| 297 |
|
| 298 |
@seed |
| 299 |
Scenario: Create new DNS zone |
| 300 |
Given DNS zone "my-other-dns-zone" exists and has record "A" with name "my-a-dns-record" and data "192.168.66.67" |
| 301 |
|
| 302 |
@test |
| 303 |
Scenario: Remove DNS record |
| 304 |
Given I am logged in as admin |
| 305 |
And I am on "dns-zones/my-other-dns-zone./dns-records" page |
| 306 |
|
| 307 |
When I delete DNS record "my-a-dns-record" |
| 308 |
Then I should not see "my-a-dns-record" entry in the data table |
| 309 |
|
| 310 |
@cleanup |
| 311 |
Scenario: Delete DNS zone |
| 312 |
Given I delete DNS zone "my-other-dns-zone." |