BIND konfiguracio FreeBSD szerveren

Fórumok

Sziasztok,

DNS-t probalok konfiguralni FreeBSD 8.1 szerveren.

Ha lokalisan a xoldns.xol.lab dns szerveren futtatom a parancsokat:

# nslookup xenus.xol.lab
Server: 127.0.0.1
Address: 127.0.0.1#53

Name: xenus.xol.lab
Address: 10.239.42.39

# nslookup xenus.xol.lab xoldns.xol.lab
Server: xoldns.xol.lab
Address: 10.239.42.46#53

** server can't find xenus.xol.lab.lab: REFUSED
#

Raadasul me'g a 2x-es lab.lab hiba is a REFUSED elott...

Mit konfiguraltam rosszul?
Ardi

Hozzászólások

Ha a második kísérletnél a nameserver-t akarod megadni a lekérdezéshez, nslookup - xoldns.xol.lab szintaxis, majd utána xenus.xol.lab segít?
--
/etc/lib/lu/plugins/lupi_bebasic

a)
#nslookup - xoldns.xol.lab xenus.xol.lab
>

b)
#nslookup -xoldns.xol.lab xenus.xol.lab
*** Invalid option: xoldns.xol.lab
Server: 127.0.0.1
Address: 127.0.0.1#53

Name: xenus.xol.lab
Address: 10.239.42.39

NSLOOKUP(1) BIND9 NSLOOKUP(1)

NAME
nslookup - query Internet name servers interactively

SYNOPSIS
nslookup [-option] [name | -] [server]

DESCRIPTION
Nslookup is a program to query Internet domain name servers. Nslookup
has two modes: interactive and non-interactive. Interactive mode allows
the user to query name servers for information about various hosts and
domains or to print a list of hosts in a domain. Non-interactive mode
is used to print just the name and requested information for a host or
domain.

ARGUMENTS
Interactive mode is entered in the following cases:

1. when no arguments are given (the default name server will be used)

2. when the first argument is a hyphen (-) and the second argument is
the host name or Internet address of a name server.

Jol ertelmeztem a helpet?
Ardi

Nem írtam a code tag-ek közé a feloldandó hostneved, azt írtam, utána :)
Tehát:
nslookup - xoldns.xol.lab <-- nslookup_-_xoldns.xol.lab

...és utána a kapott nslookup prompt-ba (> ) tápláld be, amit fel szeretnél vele (a xoldns.xol.lab nameserverrel) oldatni.
--
/etc/lib/lu/plugins/lupi_bebasic