Hello, for a school project, I created a Datacenter, a client and an ISP. For the client to access the website on the web server I put the IP of the R-DC router (5.22.155.25) on the PC as the DNS server. On the D-RC router, I forwarded the port so that DNS and HTTP requests arriving at the router were redirected to the servers.
Both R-DC and RC routers have nat overload.
In the R-DC i have the following configuration to forward requests:
ip nat inside source static udp 192.168.21.2 53 5.22.155.25 53 no-payload
ip nat inside source static tcp 192.168.21.1 80 5.22.155.25 80
In dns i have the domain example.pt and the website is www.example.pt, in the PC_client i can make nslookup to the website www.example.pt but I can not access the site or other websites in the internet and i think my problem is in the dns server i will put here the configurations, can anyone explain me what i did wrong please?
DNS Configs (Bind9):
db.example.pt
https://pastebin.com/7g3jKq0W
named.config.options
https://pastebin.com/tnvbkeey
name.config.local
https://pastebin.com/0Qd1J6wr