9d20 DJBDNS: Alteration in zone does not function - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Server & Networking > Web & Network Services

Web & Network Services Discussion related to network/web services such as apache, bind, sendmail, etc.

Reply
 
Thread Tools Display Modes
  #1  
Old January 14th, 2011, 13:11
PauloS PauloS is offline
Junior Member
 
Join Date: Jan 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default DJBDNS: Alteration in zone does not function

Hello.
Code:
# MONDEXFLEX.COM.BR
# Definicao do DNS para o dominio
.mondexflex.com.br::saci.mondexflex.com.br.:259200
.mondexflex.com.br::boitata.mondexflex.com.br.:259200
.148.146.42.189.in-addr.arpa:boitata.mondexflex.com.br:a:259200
.150.146.42.189.in-addr.arpa:saci.mondexflex.com.br:b:259200
# Definicao do servidor SMTP
@mondexflex.com.br::grupoitambe.mxsec.com.br
# Definicao da associacao IP <--> Nome de maquina
=boitata.mondexflex.com.br:189.42.146.148.:259200
=189.42.146.148:boitata.mondexflex.com.br
=saci.mondexflex.com.br:189.42.146.150.:259200
=189.42.146.150:saci.mondexflex.com.br
=mulasemcabeca2.mondexflex.com.br:189.42.146.153
=bichopapao.mondexflex.com.br:189.42.146.152
=grupoitambe.mxsec.com.br
# Definicao de alias para servidores
+mondexflex.com.br:189.42.146.153:86400
+www.mondexflex.com.br:189.42.146.153
+webmail.mondexflex.com.br:189.42.146.152
+portaldoimovel.mondexflex.com.br:189.42.146.153
+imoveltemporada.mondexflex.com.br:189.42.146.153
+portaladm.mondexflex.com.br:189.42.146.153
+www.portaladm.mondexflex.com.br:189.42.146.153
+mobile.mondexflex.com.br:189.42.146.153
I altered the lines in bold in agreement follows:

Before: mulasemcabeca
After: mulasemcabeca2

Before: 189.42.146.151
After: 189.42.146.153

I perform a PING in www.mondexflex.com.br and he answers with the Address IP old.

Do not I know DJBDNS and I am a week ago trying resolve that problem and not with himself.

Mine sincere acknowledgements.

Paulo Souza

Last edited by DutchDaemon; January 15th, 2011 at 04:29. Reason: proper formatting: http://forums.freebsd.org/showthread.php?t=8816
Reply With Quote
  #2  
Old January 14th, 2011, 18:37
terminus terminus is offline
Junior Member
 
Join Date: Nov 2008
Location: Riga, Latvia
Posts: 38
Thanks: 2
Thanked 5 Times in 4 Posts
Default

Do you have performed tinydns database rebuilding after altering txt file with mondexflex.com.br zone data? Tinydns stores all zones in data.cdb binary database file. You should refresh it's content using tinydns-data command.

I do not remember for shure where djbdns stores it's data directory by-default (it is some kind of blackmagic AFAIK and distro specific also). Let's assume you have data dir located in /var/tinydns, and zone file for mondexflex.com.br (what you a trying to edit) is named mondexflex.com.br.zone.
So you should make a copy of this file and store in /var/tinydns under name data. After that you should run tinydns-data command. It will rebuild data.cdb, after that tinydns will starts to answer to the queues with new information.

Code:
cp /var/tinydns/mondexflex.com.br.zone /var/tinydns/data
tinydns-data
rm /var/tinydns/data
P.S.
Don't forget to make a backup copy of you current data.cdb file before run tinydns-data

P.P.S.
Use NSD instead of djbdns/tinydns in you NS servers
It will saves you time and makes you happy ^_^
__________________
# make world, not bzImage!
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
file alteration monitors tajudd General 8 January 8th, 2011 23:00
djbdns & PTR Records. (R(everse)DNS) aunull Web & Network Services 4 July 11th, 2010 06:14
Resolving zone domain Seeker Web & Network Services 12 July 20th, 2009 19:16
Increment number of a dns zone clinty Userland Programming & Scripting 10 March 16th, 2009 18:31
djbdns security breach and patch ctaranotte Installation and Maintenance of FreeBSD Ports or Packages 0 March 6th, 2009 12:37


All times are GMT +1. The time now is 16:29.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0