I use the Mikrotik router as a central DNS of my home.
I have this 2 lines:
Code: Select all
/ip dns static
add address=192.168.1.2 name=test
add address=192.168.1.2 name=test.domain.com
Code: Select all
C:\>nslookup test.domain.com
Servidor: UnKnown
Address: 192.168.1.1
Respuesta no autoritativa:
Nombre: test.domain.com
Address: 192.168.1.2
Code: Select all
C:\>nslookup test
Servidor: UnKnown
Address: 192.168.1.1
*** UnKnown no encuentra test: Non-existent domain
Code: Select all
# host test
test has address 192.168.1.2
Code: Select all
# host test.domain.com
test.domain.com has address 192.168.1.2
test.domain.com mail is handled by 10 mx.domain.com.
Thanks for your help.
Kind regards.