Add records. The first argument is always a name. The other arguments can be: - rdataset... - ttl, rdata... - ttl, rdtype, string...
(self, name: dns.name.Name | str, *args: Any)
| 171 | self._add_rr(name, ttl, rd, section=section) |
| 172 | |
| 173 | def add(self, name: dns.name.Name | str, *args: Any) -> None: |
| 174 | """Add records. |
| 175 | |
| 176 | The first argument is always a name. The other |
| 177 | arguments can be: |
| 178 | |
| 179 | - rdataset... |
| 180 | |
| 181 | - ttl, rdata... |
| 182 | |
| 183 | - ttl, rdtype, string... |
| 184 | """ |
| 185 | |
| 186 | self._add(False, self.update, name, *args) |
| 187 | |
| 188 | def delete(self, name: dns.name.Name | str, *args: Any) -> None: |
| 189 | """Delete records. |