cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Who Me Too'd this topic

Unrecognized host or address, or protocol not running.

gozarrojas
Level 1
Level 1

Good evening, I try to perform the following topology but I cannot resolve the domain name that I configured on my DNS server. But I can ping the IP.

 

DHCPv4.png

DNS:

#

# This is a sample network config uncomment lines to configure the network

#

 

 

# Static config for eth0

auto eth0

iface eth0 inet static

address 172.16.0.3

netmask 255.255.0.0

gateway 172.16.0.1

up echo nameserver 172.16.0.2 > /etc/resolv.conf

# DHCP config for eth0

# auto eth0

# iface eth0 inet dhcp

 

#########################

127.0.1.1 DNS
127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
172.16.0.1 r2.lab r2
192.168.0.1 r1.lab r1
172.16.0.3 mycomputer.com

 

#########################

R1(config)#do ping mycomputer.com
Translating "mycomputer.com"...domain server (172.16.0.3)
% Unrecognized host or address, or protocol not running.

 

#########################

R1 (IOU-L3-15.4)

R1(config)#ip domain-lookup
R1(config)#ip name-server 172.16.0.3

 

You only have one DHCP Server configured and the problem is name resolution

.It only resolves on the same DNS Server. And there is ping among all.

 

I hope you can guide me.

 

Who Me Too'd this topic