LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 04-07-2013, 12:50 PM   #1
vitronix
Member
 
Registered: Dec 2012
Posts: 49

Rep: Reputation: Disabled
Bind 9.8.1-P1 problem


Hello,

I am trying to set up a DNS for my LAN using Ubuntu server 12.04 (32-bit)

Host name is virtual

Output from /usr/sbin/named -v is BIND 9.8.1-P1

This is the content of named.conf.local:

zone "vitronix.lan" {
type master;
file "/etc/bind/db.vitronix.lan.";
};

zone "10.168.192.in-addr.arpa" {
type master;
notify no;
file "etc/bind/db.10.168.192";
};

// Consider adding the 1918 zones here, if they are not used in your
// organization
// include "/etc/bind/zones.rfc1918";

Content of db.vitronix.lan:

;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA virtual.vitronix.lan. root.vitronix.lan. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS virtual.vitronix.lan.
virtual IN A 192.168.10.36
@ IN AAAA ::1

Content of db.10.168.192:

;
; BIND reverse data file for local loopback interface
;
$TTL 604800
@ IN SOA virtual.vitronix.lan. root.vitronix.lan. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS virtual.
36 IN PTR virtual.vitronix.lan.

Output of dig vitronix.lan is:

; <<>> DiG 9.8.1-P1 <<>> vitronix.lan
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 29900
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;vitronix.lan. IN A

;; Query time: 3 msec
;; SERVER: 192.168.10.36#53(192.168.10.36)
;; WHEN: Sun Apr 7 06:54:58 2013
;; MSG SIZE rcvd: 30


I have installed Apache2, and when I enter 192.168.10.36 I get

It works..etc

But I want to enter virtual.vitronix.lan

Can anyone help?

Tanks in advance.

Last edited by vitronix; 04-07-2013 at 12:51 PM. Reason: forgot something
 
Old 04-07-2013, 07:27 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

http://www.linuxquestions.org/questi...em-4175457223/
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
creating domain name in bind problems exposing bind to internal network abhijit_mohanta Linux - Networking 1 09-03-2009 01:09 AM
creating domain name in bind problems exposing bind to internal network abhijit_mohanta Linux - Security 1 09-03-2009 01:01 AM
bind problem :bind domain not getting resolved abhijit_mohanta Linux - Networking 7 09-01-2009 03:37 AM
Bind problem: config files are missing after re-install bind 9.5 on Fedora Core 8 elvisious Linux - Software 1 07-15-2008 07:49 PM


All times are GMT -5. The time now is 02:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration