A
A
akass2015-04-08 03:51:29
linux
akass, 2015-04-08 03:51:29

How to set up dns with assignment?

Tell me how to configure the DNS server on the server so that the address 192.168.1.N
corresponds to the name "surname.ru", where N in the ip-address is the number from the list.
The client connects to the server, then the following command is entered on the client command line: nslookup
192.168.1.N. The result should be a last name. Similarly for the last name:
nslookup last name.ru, result: 192.168.1.N

Answer the question

In order to leave comments, you need to log in

4 answer(s)
V
Vitaly Pukhov, 2015-04-08
@Neuroware

why not just give these machines such names, or there really are no such machines?

P
PupkinVasya, 2015-04-08
@PupkinVasya

And what does DNS have to do with it?
DNS service just matches UNC and ip address.

Y
yukpun, 2015-04-08
@LeganSV

Try to create an Alias ​​in DNS Forward Lookup Zones for this address, with the required name
7157bcc94c744017bd84251dacc75a5c.jpg

A
Axian Ltd., 2015-04-12
@AxianLTD

For example, I would configure BIND to use TSIG and then write a small script that would assign addresses according to a given algorithm.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question