# 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:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pudence-foundation](https://discourse-cdn.pi-hole.net/letter_avatar_proxy/v4/letter/p/a88e4f/32.png) [@pudence-foundation](https://discourse.pi-hole.net/u/pudence-foundation)\
**Post date:** [June 23, 2019, 12:03am UTC](https://discourse.pi-hole.net/t/creating-a-custom-srv-record-in-pi-hole/20980/1 "2019-06-23T00:03:36Z")

</div>

Hello, I have set up a service on one of my machines and at the moment I'm accessing it using an : combo. I was wondering if there is a way to make this easier, so I don't have to enter the whole IP and port and came upon SRV records as a possibility. I am unable to find if Pi-Hole even supports SRV records and if so how can I add a custom one for my use case.

---

<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…

---

<div class="post-metadata">

**Author:** ![system](https://discourse.pi-hole.net/uploads/default/original/3X/7/c/7c8792f649eeb921c5d2b4c41564ffa873d9a2b8.png) [@system](https://discourse.pi-hole.net/u/system)\
**Post date:** [July 14, 2019, 5:26pm UTC](https://discourse.pi-hole.net/t/creating-a-custom-srv-record-in-pi-hole/20980/3 "2019-07-14T17:26:56Z")

</div>

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
