cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
340
Views
0
Helpful
1
Replies

dns

demarni2023
Level 1
Level 1

dns

1 Reply 1

@demarni2023 

 I can see a few mistakes over here.

You are assigning the IP 192.168.10.1 as DNS server on the Pool but this IP belongs to Router. You should put there the DNS´s IP address.  In my file I set the DNS IP address as 192.168.10.2

 

ip dhcp pool Student/Teacher

network 192.168.30.0 255.255.255.0

default-router 192.168.30.1

dns-server 192.168.10.1

ip dhcp pool IoT

network 192.168.60.0 255.255.255.0

default-router 192.168.60.1

ip dhcp pool Admin

network 192.168.90.0 255.255.255.0

default-router 192.168.90.1

dns-server 192.168.10.1

ip dhcp pool Iot

dns-server 192.168.10.1

ip dhcp pool VLAN10

network 192.168.10.0 255.255.255.0

default-router 192.168.10.1

 

Second issue, the DNS server is connected in a interface in trunk mode. Server does not support Trunk interface. If must be access on vlan 10.

 

And the DNS server must have IP address and default gateway. After that, you must be able to resolve names.

 

C:\>nslookup www.stedmunds.com

 

Server: [192.168.10.2]

Address: 192.168.10.2

 

Non-authoritative answer:

Name: www.stedmunds.com

Address: 192.168.10.2