Creates a new record identical to the current record, but with a different class and ttl. This is most useful for dynamic update.
(int dclass, long ttl)
| 623 | * class and ttl. This is most useful for dynamic update. |
| 624 | */ |
| 625 | Record |
| 626 | withDClass(int dclass, long ttl) { |
| 627 | Record rec = cloneRecord(); |
| 628 | rec.dclass = dclass; |
| 629 | rec.ttl = ttl; |
| 630 | return rec; |
| 631 | } |
| 632 | |
| 633 | /* Sets the TTL to the specified value. This is intentionally not public. */ |
| 634 | void |