LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-13-2010, 03:12 AM   #1
DanW85
LQ Newbie
 
Registered: Mar 2005
Location: Midlands or Aberystwyth UK
Distribution: CentOS & Ubuntu
Posts: 13

Rep: Reputation: 0
BIND jnl files


Hi,

I'm having an issue with BIND not updating the list of static IP addresses.
I have a Windows Server 2008 machine, who gets an IP address absolutely fine if I use DHCP. It registers in the DNS correctly.
When I switch to a static IP and update the zone config with the correct IP.


I'm using webmin currently, but no doubt there is a better way to administer BIND.
I'm updating it in:
BIND DNS server -> Existing DNS zones (selected correct zone) -> Address

Then changed the corresponding record to the correct IP.

I've also tried going to editing the records file. And that doesn't change anything either.

Narrowing it down, every time I give the machine a new DHCP address, it correctly updates to the clients fairly quickly, so I presume I'm doing something wrong with webmin.
 
Old 07-15-2010, 06:09 AM   #2
jon5000
LQ Newbie
 
Registered: Mar 2009
Posts: 1

Rep: Reputation: 1
Hi

I've never used webmin, but on the command line I'd do something like

rndc freeze zone IN
edit the zone file
rndc thaw zone IN

If rndc gives a 'freeze failed, not found' message, you're probably using views and would need to add the view name at the end of the command.

Jon
 
Old 07-15-2010, 06:42 AM   #3
tva
Member
 
Registered: Jul 2010
Location: Finland
Distribution: Open SUSE 11.x
Posts: 70

Rep: Reputation: 6
Have you remembered to use "Apply zone" in upper right corner after doing those changes?
 
Old 07-19-2010, 05:16 AM   #4
DanW85
LQ Newbie
 
Registered: Mar 2005
Location: Midlands or Aberystwyth UK
Distribution: CentOS & Ubuntu
Posts: 13

Original Poster
Rep: Reputation: 0
Sorry it took so long to respond been out the office.

@tva, yeah I tried that and it didn't seem to work at all. Tried applying it in every place with no luck.

@jon5000, no luck with rndc either, I didn't set it up but it looks like it's not set-up correctly, "rndc: 'freeze' failed: unknown command". I've checked and we're using BIND9 so that command should be available.

I've tried
rndc freeze WBC in
and
rndc freeze WBC in internal

I'm not expecting the second one to work as we don't have any views at the moment.
 
Old 07-20-2010, 01:50 AM   #5
tva
Member
 
Registered: Jul 2010
Location: Finland
Distribution: Open SUSE 11.x
Posts: 70

Rep: Reputation: 6
does "service named reload" work?
 
Old 07-20-2010, 04:51 AM   #6
DanW85
LQ Newbie
 
Registered: Mar 2005
Location: Midlands or Aberystwyth UK
Distribution: CentOS & Ubuntu
Posts: 13

Original Poster
Rep: Reputation: 0
Perfectly!
 
  


Reply

Tags
dns, ip, static


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
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
Bind two Avi files ? memo007 Linux - Software 3 04-15-2007 09:15 PM
How do I import bind ".hosts" files into another BIND server chantman Linux - Software 0 06-30-2006 11:51 AM
Bind and DNS information conf files and zone files aaronluke Linux - General 1 10-13-2002 09:41 AM
Bind Zone files cbutler Linux - Networking 0 01-08-2002 04:41 PM


All times are GMT -5. The time now is 11:41 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration