Help - Search - Members - Calendar
Full Version: dns server in fedora core 3
Neowin Forums > *nix Customization & Support > Linux Server/BSD/Unix
grungeisdead
right at the moment with my home network i have several pcs but only two are hooked up at the moment.

a server running fc3 which is connected to the internet

running a dns server, dhcp server and running squid for internet proxying to other computers

its called linbox

the second pc isnt a pc its a mini mac and its called lexi.


checking my system logs, i can see that linbox becomes the master browser for the domain workgroup. however it is unable to view a file called workgroup.db which i assume is similar to a hosts file in windows.

as i was setting up the dns server with instructions i found on the web, i needed a .db template file to modify and call workgroup.db. i couldnt find this so i skipped it out, i need a template file as the only pc the dns server sees is linbox

ping table

i can ping all computers by ip

ping lexi from linbox - no

ping linbox from lexi - yes

anyway after a while lexi takes over being a master browser and all is well i can ping any computer by name from any other as well as being able to view computers by samba etc.

so basically i need a .db file or need to know what goes in it.

if you need any more info let me know smile.gif cheers
dotRoot
You should paste linbox.db for us.

Here a template from one of my servers:

CODE
$TTL 14400
@       IN      SOA     ns1.domain.com.      server.domain.com. (
                                               2005032307
                                               7200
                                               3600
                                               1209600
                                               86400 )

domain.com.    14400   IN      NS      ns1.domain.com.
domain.com.    14400   IN      NS      ns2.domain.com.

ftp     14400   IN      A       69.xx.xx.x
domain.com.    14400   IN      A       69.xx.xx.x
localhost       14400   IN      A       127.0.0.1
mail    14400   IN      A       69.xx.xx.x
pop     14400   IN      A       69.xx.xx.x
www     14400   IN      A       69.xx.xx.x

domain.com.    14400   IN      MX      10 mail



domain.com. IN TXT "v=spf1 a mx ip4:69.xx.xx.x ~all"



also on linbox try typing: dig linbox from its command line and see what pops up.
grungeisdead
here is the dig output

; <<>> DiG 9.2.5 <<>> linbox
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 65070
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;linbox. IN A

;; AUTHORITY SECTION:
. 10800 IN SOA A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2005032901 1800 900 604800 86400

;; Query time: 303 msec
;; SERVER: 212.158.192.3#53(212.158.192.3)
;; WHEN: Wed Mar 30 03:04:46 2005
;; MSG SIZE rcvd: 99

ill paste a link to the guide i was following...

there is no linbox.db file as the guide said to find a template db file and modify that for my needs. ive had a fiddle tonight and see what i see
dotRoot
QUOTE(grungeisdead @ Mar 29 2005, 19:09)
here is the dig output

; <<>> DiG 9.2.5 <<>> linbox
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 65070
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;linbox.                                IN      A

;; AUTHORITY SECTION:
.                      10800  IN      SOA    A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2005032901 1800 900 604800 86400

;; Query time: 303 msec
;; SERVER: 212.158.192.3#53(212.158.192.3)
;; WHEN: Wed Mar 30 03:04:46 2005
;; MSG SIZE  rcvd: 99

ill paste a link to the guide i was following...

there is no linbox.db file as the guide said to find a template db file and modify that for my needs. ive had a fiddle tonight and see what i see
[right][snapback]585694503[/snapback][/right]


You dig looks fine. I did post a template for the db file though. Its not a database file with any extra encoding, its just a text file BIND uses.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.