Lines 456-462
static WERROR handle_one_update(struct dns_server *dns,
|
Link Here
|
---|
|
456 |
rcount += 1; |
456 |
rcount += 1; |
457 |
|
457 |
|
458 |
werror = dns_replace_records(dns, mem_ctx, dn, |
458 |
werror = dns_replace_records(dns, mem_ctx, dn, |
459 |
needs_add, recs, rcount); |
459 |
needs_add, tombstoned, |
|
|
460 |
recs, rcount); |
460 |
W_ERROR_NOT_OK_RETURN(werror); |
461 |
W_ERROR_NOT_OK_RETURN(werror); |
461 |
|
462 |
|
462 |
return WERR_OK; |
463 |
return WERR_OK; |
Lines 517-523
static WERROR handle_one_update(struct dns_server *dns,
|
Link Here
|
---|
|
517 |
} |
518 |
} |
518 |
|
519 |
|
519 |
werror = dns_replace_records(dns, mem_ctx, dn, |
520 |
werror = dns_replace_records(dns, mem_ctx, dn, |
520 |
needs_add, recs, rcount); |
521 |
needs_add, tombstoned, |
|
|
522 |
recs, rcount); |
521 |
W_ERROR_NOT_OK_RETURN(werror); |
523 |
W_ERROR_NOT_OK_RETURN(werror); |
522 |
|
524 |
|
523 |
return WERR_OK; |
525 |
return WERR_OK; |
Lines 538-551
static WERROR handle_one_update(struct dns_server *dns,
|
Link Here
|
---|
|
538 |
recs[i] = recs[rcount]; |
540 |
recs[i] = recs[rcount]; |
539 |
|
541 |
|
540 |
werror = dns_replace_records(dns, mem_ctx, dn, |
542 |
werror = dns_replace_records(dns, mem_ctx, dn, |
541 |
needs_add, recs, rcount); |
543 |
needs_add, tombstoned, |
|
|
544 |
recs, rcount); |
542 |
W_ERROR_NOT_OK_RETURN(werror); |
545 |
W_ERROR_NOT_OK_RETURN(werror); |
543 |
|
546 |
|
544 |
return WERR_OK; |
547 |
return WERR_OK; |
545 |
} |
548 |
} |
546 |
|
549 |
|
547 |
werror = dns_replace_records(dns, mem_ctx, dn, |
550 |
werror = dns_replace_records(dns, mem_ctx, dn, |
548 |
needs_add, recs, rcount+1); |
551 |
needs_add, tombstoned, recs, |
|
|
552 |
rcount+1); |
549 |
W_ERROR_NOT_OK_RETURN(werror); |
553 |
W_ERROR_NOT_OK_RETURN(werror); |
550 |
|
554 |
|
551 |
return WERR_OK; |
555 |
return WERR_OK; |
Lines 594-600
static WERROR handle_one_update(struct dns_server *dns,
|
Link Here
|
---|
|
594 |
} |
598 |
} |
595 |
|
599 |
|
596 |
werror = dns_replace_records(dns, mem_ctx, dn, |
600 |
werror = dns_replace_records(dns, mem_ctx, dn, |
597 |
needs_add, recs, rcount); |
601 |
needs_add, tombstoned, recs, |
|
|
602 |
rcount); |
598 |
W_ERROR_NOT_OK_RETURN(werror); |
603 |
W_ERROR_NOT_OK_RETURN(werror); |
599 |
|
604 |
|
600 |
return WERR_OK; |
605 |
return WERR_OK; |
Lines 640-646
static WERROR handle_one_update(struct dns_server *dns,
|
Link Here
|
---|
|
640 |
} |
645 |
} |
641 |
|
646 |
|
642 |
werror = dns_replace_records(dns, mem_ctx, dn, |
647 |
werror = dns_replace_records(dns, mem_ctx, dn, |
643 |
needs_add, recs, rcount); |
648 |
needs_add, tombstoned, recs, |
|
|
649 |
rcount); |
644 |
W_ERROR_NOT_OK_RETURN(werror); |
650 |
W_ERROR_NOT_OK_RETURN(werror); |
645 |
} |
651 |
} |
646 |
|
652 |
|