Replace records. The first argument is always a name. The other arguments can be: - rdataset... - ttl, rdata... - ttl, rdtype, string... Note that if you want to replace the entire node, you should do a delete of t
(self, name: dns.name.Name | str, *args: Any)
| 246 | self._add_rr(name, 0, rd, dns.rdataclass.NONE) |
| 247 | |
| 248 | def replace(self, name: dns.name.Name | str, *args: Any) -> None: |
| 249 | """Replace records. |
| 250 | |
| 251 | The first argument is always a name. The other |
| 252 | arguments can be: |
| 253 | |
| 254 | - rdataset... |
| 255 | |
| 256 | - ttl, rdata... |
| 257 | |
| 258 | - ttl, rdtype, string... |
| 259 | |
| 260 | Note that if you want to replace the entire node, you should do |
| 261 | a delete of the name followed by one or more calls to add. |
| 262 | """ |
| 263 | |
| 264 | self._add(True, self.update, name, *args) |
| 265 | |
| 266 | def present(self, name: dns.name.Name | str, *args: Any) -> None: |
| 267 | """Require that an owner name (and optionally an rdata type, |