# Lab 4:  Network Configurations & Tools

#### Network Router

I'm using Mercusys AX1800 Dual-Band Wi-Fi 6 Router

#### DNS Server

I have a DNS server that running on a VM's with DNSMasq installed. It serves as a DNS forwarder,caching and as a DHCP server.

Following is the configs.

#### DNSMasq Configs

```
domain-needed
bogus-priv
no-resolv
server=8.8.8.8
server=8.8.4.4
local=/home-cloud01.lab/
listen-address=::1,127.0.0.1,192.168.1.3
expand-hosts
domain=home-cloud01.lab
dhcp-range=192.168.1.4,192.168.1.255,24h
dhcp-range=192.168.2.1,192.168.2.255,24h
dhcp-option=option:router,192.168.1.1
dhcp-authoritative
dhcp-leasefile=/var/lib/dnsmasq/dnsmasq.leases
```

As we can see, I set the listener address to `192.168.1.3` which means this is the endpoint I can use as my secondary DNS setting on any of my devices - PC's, laptops,mobile phone, smart home appliances etc.

The root domain is `home-cloud01.lab`.

At the time of writing this guide, I have multiple IP segmentations:

* `192.168.1.4,192.168.1.255` within this range, I use it for Pyshical and VM's based appliances.
* `192.168.2.1,192.168.2.255` within this range, I use it for the Kubernetes cluster

#### Deploy and Configure Nginx Ingress Controller


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://learn.farizizwan.com/devops-and-devsecops/kubernetes/poc-lab/high-availability-portable-mini-kubernetes-data-center-with-k3s/lab-4-network-configurations-and-tools.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
