# Creating a custom SRV record in Pi-Hole

**URL:** https://discourse.pi-hole.net/t/creating-a-custom-srv-record-in-pi-hole/20980
**Category:** Help
**Created:** [June 23, 2019, 12:03am UTC](https://discourse.pi-hole.net/t/creating-a-custom-srv-record-in-pi-hole/20980 "2019-06-23T00:03:36Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![deHakkelaar](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/dehakkelaar/32/674_2.png) [@deHakkelaar](https://discourse.pi-hole.net/u/deHakkelaar)
#### Post date: [June 23, 2019, 5:26pm UTC](https://discourse.pi-hole.net/t/creating-a-custom-srv-record-in-pi-hole/20980/2 "2019-06-23T17:26:55Z")

</div>

See below example:

> [@manual srv entries in local.list](https://discourse.pi-hole.net/t/manual-srv-entries-in-local-list/14788/9):
>
> pi@noads:~ $ echo 'srv-host=\_http.\_tcp.home.web,192.168.1.99,20080,10,1' | sudo tee /etc/dnsmasq.d/99-my-settings.conf srv-host=\_http.\_tcp.home.web,192.168.1.99,20080,10,1 pi@noads:~ $ sudo service pihole-FTL reload pi@noads:~ $ pi@noads:~ $ host -t srv \_http.\_tcp.home.web \_http.\_tcp.home.web has SRV record 10 1 20080 192.168.1.99. But your software needs to specifically do SRV lookups. You cant use it like in for example a browser that only does A or AAAA record lookups. .......... I thi…

---

_[View the full topic](https://discourse.pi-hole.net/t/creating-a-custom-srv-record-in-pi-hole/20980)._
