Adding DNS record to Freebsd DNS server

Hello All!

I was wondering is someone could point me in the right direction to add a dns record to a Freebsd DNS server.  I tried adding the record to my master file but when I try to edit the file I get a read-only and does not allow me to save my settings.  

Am I missing something?

-Alfred
alfred-bspAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

PapertripCommented:
You are probably trying to edit the file as a user that does not have write permissions for that file.

Which user are you editing as, and what does 'ls -l filename' show.
0
alfred-bspAuthor Commented:
I did a whoami and return localmachine.

When I do a ls -l I get the following

-rw-r--r-- 1 bind wheel 790 Oct 7 22:05
0
PapertripCommented:
I did a whoami and return localmachine.
Your username is localmachine ?

Aside from that, your problem is simply a permissions issue.  You need to edit the file as either user root or user bind.  You could change the permissions as well to fix this, but I suggest leaving them as-is.

If you have root access, just do it as user root.  If not, then do it as user bind.  If you cannot become either of those users, let me know.
0
Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

alfred-bspAuthor Commented:
It seems to be.... I tried using the root password given to me by the previous IT admin but it does not seem to work.  
0
PapertripCommented:
Then unless you can become user bind, you are stuck.
0
PapertripCommented:
*Unless you change the root password of course.
0
alfred-bspAuthor Commented:
How do I change the root password?  Is that possible?
0
alfred-bspAuthor Commented:
Thanks buddy... I was missing su root.  The password worked.  So I am assuming I can do an edit to the file and make my changes and then save correct?
0
PapertripCommented:
Oh awesome, that is good news indeed!

Yep you should be totally good to go now to edit that file.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
alfred-bspAuthor Commented:
What about a incrementing the dns serial number?  does that have to be done?
0
PapertripCommented:
Most definitely :)

If you have specific questions for BIND, please open new questions for them :)

I can't tell you to open a question addressed to me, however I can say I have a ton of experience with BIND and will unfortunately be home all night since I'm on-call :-/
0
alfred-bspAuthor Commented:
One last question the serial number is before the ; Serial correct?  Just increment that number by one?  

2010061000 ; Serial
0
PapertripCommented:
Yes, but please open new questions for... new questions ;)
0
alfred-bspAuthor Commented:
Will do... Thanks for the help.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.