# Remove a PTR record

**URL:** <https://community.ipfire.org/t/remove-a-ptr-record/937>\
**Category:** DNS\
**Created:** [15 January 2020 14:16 UTC](https://community.ipfire.org/t/remove-a-ptr-record/937 "2020-01-15T14:16:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon42188109](https://community.ipfire.org/letter_avatar_proxy/v4/letter/a/94ad74/32.png) [@anon42188109](https://community.ipfire.org/u/anon42188109)\
**Post date:** [15 January 2020 14:16 UTC](https://community.ipfire.org/t/remove-a-ptr-record/937/1 "2020-01-15T14:16:12Z")

</div>

I installed Linux Mint on a system, then later I changed the hostname to cw. But nslookup reports both names. I tried `/etc/init.d/dhcp stop then start`, I tried `/etc/init.d/network restart` but no luck. Is there a way to flush this record ? thank you.

```
nslookup 10.0.0.43
43.0.0.10.in-addr.arpa	name = cw.lan.
43.0.0.10.in-addr.arpa	name = mint.lan.
```

---

<div class="post-metadata">

**Author:** ![ms](https://community.ipfire.org/user_avatar/community.ipfire.org/ms/32/16615_2.png) [@ms](https://community.ipfire.org/u/ms)\
**Post date:** [17 January 2020 11:33 UTC](https://community.ipfire.org/t/remove-a-ptr-record/937/2 "2020-01-17T11:33:26Z")

</div>

Yes, you can restart unbound. If this happens again, this is a bug.

---

<div class="post-metadata">

**Author:** ![anon42188109](https://community.ipfire.org/letter_avatar_proxy/v4/letter/a/94ad74/32.png) [@anon42188109](https://community.ipfire.org/u/anon42188109)\
**Post date:** [17 January 2020 13:21 UTC](https://community.ipfire.org/t/remove-a-ptr-record/937/3 "2020-01-17T13:21:19Z")

</div>

Thank you. Restarted unbound and it cleared the PTR record.

This happens often in my network, I bring in a laptop, do an install, change hostname, reboot laptop and then nslookup reports 2 PTR records. If I change the hostname again, 3 PTR records.

---

<div class="post-metadata">

**Author:** ![ms](https://community.ipfire.org/user_avatar/community.ipfire.org/ms/32/16615_2.png) [@ms](https://community.ipfire.org/u/ms)\
**Post date:** [20 January 2020 12:15 UTC](https://community.ipfire.org/t/remove-a-ptr-record/937/4 "2020-01-20T12:15:34Z")

</div>

Could you report this on Bugzilla, please?

[https://bugzilla.ipfire.org/](https://bugzilla.ipfire.org/)

---

<div class="post-metadata">

**Author:** ![anon42188109](https://community.ipfire.org/letter_avatar_proxy/v4/letter/a/94ad74/32.png) [@anon42188109](https://community.ipfire.org/u/anon42188109)\
**Post date:** [20 January 2020 14:15 UTC](https://community.ipfire.org/t/remove-a-ptr-record/937/5 "2020-01-20T14:15:31Z")

</div>

done … 12275
