cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1791
Views
25
Helpful
10
Replies

Issue with DNS Record host alias lookup

hahe250440076
Level 1
Level 1

Hello!

 

So in my class we got this assignment to set up a network, belove is the specs or requirements to the network:

----------------------------------------------------------------------

Need to be able to ping atleast 3 hosts in each their network.

DHCP for all network (range need to be set from .100 to .254 for all networks)

 - Atleast 10 hosts gets IP from DHCP in each network

 

DNS need to have 3 records that points to 3 hosts, their names:

 - petter

 - tore

 - hans

 

It needs to have 3 broadcast domains and 49 collision domains

voluntary task:

A webserver that can be reached on this domain name : innlandet.no

-----------------------------------------------------------------

 

I'm abit stuck on the part where Im suppose to be able to ping the hosts with alias instead of the IP and I've been trying to figure out why that is. 


In the CISCO CCNA book it says that you can use up to 6 IP addresses when you use the "ip name-server" command, Ive tried to use 3 addresses in the same line, but I only get promted with the command being wrong. Is that happening because there are diffrent subnets for the DNS addresses?

I've added some screen shot of my lab, Im not sure if Im missing any information that might be needed.

sho hosts.pngsho running config.pngtopology.png

1 Accepted Solution

Accepted Solutions

Hello,

 

actually, I think, since they mention DNS records, they want you to add and use a DNS server rather than aliases.

 

In the file attached, I have added a DNS server with three A-records.

View solution in original post

10 Replies 10

hahe250440076
Level 1
Level 1

I did forget to add that I was able to ping all 3 hosts from the router, but not from each other. I could not Ping Hans (192.168.3.11) from Petter (192.168.1.11) using the alias, but I could ping them using their IP.

now after I've been trying to figure out why I couldnt ping them with alias, I've made it so I cant ping them from the router, I cant ping them with IP.

Hello,

 

post the zipped Packet Tracer project file...

Oh my bad! Its the one called Abeidskrav2.zip

Great ! I'll have a look...

Hello,

 

the issue is Packet Tracer itself. The CCNA book is right, and on a real router, you would get the prompt below:

 

Router(config)#ip name-server ?
A.B.C.D Domain server IP address (maximum of 6)
X:X:X:X::X Domain server IPv6 address (maximum of 6)
vrf Specify VRF

 

The problem is that Packet Tracer does not support many commands that real routers would. It is a simulation tool featuring just a subset of what would be available in full IOS.

 

So, in Packet Tracer, you can add only one name server.

 

I'll have a look at the name resolution problem.

Also, is the class project supposed to be done in Packet Tracer ?

 

On a real router, what you would need to configure is this:

 

ip dns server
ip domain-lookup
ip name-server 192.168.1.2
ip name-server 192.168.2.2
ip name-server 192.168.3.2
ip domain-name innlandet.no
ip host Hans 192.168.3.11
ip host Petter 192.168.1.11
ip host Tore 192.168.2.11

Yes, its supposed to be done in Packet Tracer. We got a Packet Tracer file(I've added it here as an attachment) that only contains the router, and we are suppose to build the rest of the network with the requirments mentioned before.

So I cant solve this as I thought I would. 



 

So basically, all IP addressing etc. can be filled in as you wish.

 

I'll give this a try and see what I can come up with.

Hello,

 

actually, I think, since they mention DNS records, they want you to add and use a DNS server rather than aliases.

 

In the file attached, I have added a DNS server with three A-records.

Thank you so much for you help!