IP addresses for Apps Running in Truenas install

Beginning user here

Have been working on a truenas box with items I already own before I buy some real hardware and make a proper nas box.

For various apps that run as servers (eg, Pi-Hole, Ubiquiti Controller, Ad Guard), etc. my understanding is that each service should be getting its own IP address from DHCP of the router. Is that correct?

For instance for DNS server from Pihole, I can get the ap installed on the Truenas Box no problem but am unsure how to have it get an IP address I can give to the router to reach out for DNS resolution.

Hope this question makes sense.

If you want that feature pls vote for Allow apps to have their own IP

No, that is not the way they work (under SCALE, at least; you don’t specify which version you’re using); they all share the IP of the server and use their own ports. For the vast majority of apps, and the vast majority of users, this doesn’t impose any real limitations. But if you’d like separate IPs anyway, the feature request Lars mentions would be the place to vote for that feature.

2 Likes

I see, so helpful to know I wasn’t missing something.

So for my DNS entry, would I enter in something like 123.123.1.133:88

(made up the IP, just using for illustration purposes)

presuming that this is the address of my truenas and port 88 is where I have Pi-Hole listening?

I’d assume you’d have Pi-Hole listening on port 53–why would you use a different one?

1 Like

Jut grabbing random numbers, but yes - I saw that 53 is where it is normally set to.