Jump to content

I've got my own servers at home and I've got a nameserver I would like to use it. How would I go about port forwarding everything? The OS is Windows 2012 R2 Datacenter.

 

Thanks.

CPU: AMD Ryzen 5 5600X | CPU Cooler: Stock AMD Cooler | Motherboard: Asus ROG STRIX B550-F GAMING (WI-FI) | RAM: Corsair Vengeance LPX 32 GB (4x 8 GB) DDR4-3000 CL16 | GPU: Nvidia GTX 1060 6GB Zotac Mini | Case: K280 Case | PSU: Cooler Master B600 Power supply | SSD: 1TB  | HDDs: 1x 250GB & 1x 1TB WD Blue | Monitor: 24" Acer S240HLBID | OS: Win 11 Pro.

 

Home Lab:  Lenovo ThinkCenter M82 Hyper-V Server 2022 | Dell OptiPlex 9020 Hyper-V Server 2022 | TP-LINK TL-SG108E | Cisco Catalyst C2960CG 8 Port Switch | HP MicroServer G8 SCCM Server | 2x Dell PowerEdge R630 Hyper-V Server 2022

 

 

Link to comment
https://linustechtips.com/topic/867206-windows-name-server-help/
Share on other sites

Link to post
Share on other sites

Do you mean port forwarding external requests to the server itself for domain resolution or internal hosts to the server for DNS?

Current Network Layout:

Current Build Log/PC:

Storage Server Setup:

 

Prior Build Log/PC:

Link to post
Share on other sites

1 minute ago, Lurick said:

Do you mean port forwarding external requests to the server itself for domain resolution or internal hosts to the server for DNS?

External. I've got my DC as my internal DNS.

CPU: AMD Ryzen 5 5600X | CPU Cooler: Stock AMD Cooler | Motherboard: Asus ROG STRIX B550-F GAMING (WI-FI) | RAM: Corsair Vengeance LPX 32 GB (4x 8 GB) DDR4-3000 CL16 | GPU: Nvidia GTX 1060 6GB Zotac Mini | Case: K280 Case | PSU: Cooler Master B600 Power supply | SSD: 1TB  | HDDs: 1x 250GB & 1x 1TB WD Blue | Monitor: 24" Acer S240HLBID | OS: Win 11 Pro.

 

Home Lab:  Lenovo ThinkCenter M82 Hyper-V Server 2022 | Dell OptiPlex 9020 Hyper-V Server 2022 | TP-LINK TL-SG108E | Cisco Catalyst C2960CG 8 Port Switch | HP MicroServer G8 SCCM Server | 2x Dell PowerEdge R630 Hyper-V Server 2022

 

 

Link to post
Share on other sites

13 minutes ago, Abdul201588 said:

External. I've got my DC as my internal DNS.

If you set the DNS server as primary DNS server for the clients they should always look at this DNS server first. If the server can't find it it will either forward the request or returns it can't find it, in that case the clients can use there secondary DNS server.

Link to post
Share on other sites

2 minutes ago, Levisallanon said:

If you set the DNS server as primary DNS server for the clients they should always look at this DNS server first. If the server can't find it it will either forward the request or returns it can't find it, in that case the clients can use there secondary DNS server.

But I need it because of my website and other apps. 

CPU: AMD Ryzen 5 5600X | CPU Cooler: Stock AMD Cooler | Motherboard: Asus ROG STRIX B550-F GAMING (WI-FI) | RAM: Corsair Vengeance LPX 32 GB (4x 8 GB) DDR4-3000 CL16 | GPU: Nvidia GTX 1060 6GB Zotac Mini | Case: K280 Case | PSU: Cooler Master B600 Power supply | SSD: 1TB  | HDDs: 1x 250GB & 1x 1TB WD Blue | Monitor: 24" Acer S240HLBID | OS: Win 11 Pro.

 

Home Lab:  Lenovo ThinkCenter M82 Hyper-V Server 2022 | Dell OptiPlex 9020 Hyper-V Server 2022 | TP-LINK TL-SG108E | Cisco Catalyst C2960CG 8 Port Switch | HP MicroServer G8 SCCM Server | 2x Dell PowerEdge R630 Hyper-V Server 2022

 

 

Link to post
Share on other sites

3 minutes ago, Abdul201588 said:

But I need it because of my website and other apps. 

Ah so you have for example the website example.com and you want to manage all the subdomeins etc for thid domain yourself? Like you want to manage the records for app.exampe.com or api.example.com etc?
you could take a look at this topic about why you don't want to do this:
https://community.spiceworks.com/topic/532421-question-setup-our-own-public-facing-dns-or-host-it

Link to post
Share on other sites

3 minutes ago, Levisallanon said:

Ah so you have for example the website example.com and you want to manage all the subdomeins etc for thid domain yourself? Like you want to manage the records for app.exampe.com or api.example.com etc?
you could take a look at this topic about why you don't want to do this:
https://community.spiceworks.com/topic/532421-question-setup-our-own-public-facing-dns-or-host-it

Well I've got my domain hosted with 1and.co.uk Everything points to my server at home. 

CPU: AMD Ryzen 5 5600X | CPU Cooler: Stock AMD Cooler | Motherboard: Asus ROG STRIX B550-F GAMING (WI-FI) | RAM: Corsair Vengeance LPX 32 GB (4x 8 GB) DDR4-3000 CL16 | GPU: Nvidia GTX 1060 6GB Zotac Mini | Case: K280 Case | PSU: Cooler Master B600 Power supply | SSD: 1TB  | HDDs: 1x 250GB & 1x 1TB WD Blue | Monitor: 24" Acer S240HLBID | OS: Win 11 Pro.

 

Home Lab:  Lenovo ThinkCenter M82 Hyper-V Server 2022 | Dell OptiPlex 9020 Hyper-V Server 2022 | TP-LINK TL-SG108E | Cisco Catalyst C2960CG 8 Port Switch | HP MicroServer G8 SCCM Server | 2x Dell PowerEdge R630 Hyper-V Server 2022

 

 

Link to post
Share on other sites

1 hour ago, Abdul201588 said:

I've got my own servers at home and I've got a nameserver I would like to use it. How would I go about port forwarding everything? The OS is Windows 2012 R2 Datacenter.

 

Thanks.

netsh

dnsserver

set dns to ip then set mode=both(not primary)

both includes lan wlan name resolutions not just wan

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×