[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Adding DNS record to Freebsd DNS server

Posted on 2011-10-07
15
Medium Priority
?
554 Views
Last Modified: 2016-02-10
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
0
Comment
Question by:alfred-bsp
  • 8
  • 7
15 Comments
 
LVL 21

Expert Comment

by:Papertrip
ID: 36934673
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
 

Author Comment

by:alfred-bsp
ID: 36934692
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
 
LVL 21

Expert Comment

by:Papertrip
ID: 36934699
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
Get quick recovery of individual SharePoint items

Free tool – Veeam Explorer for Microsoft SharePoint, enables fast, easy restores of SharePoint sites, documents, libraries and lists — all with no agents to manage and no additional licenses to buy.

 

Author Comment

by:alfred-bsp
ID: 36934704
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
 
LVL 21

Expert Comment

by:Papertrip
ID: 36934708
Then unless you can become user bind, you are stuck.
0
 
LVL 21

Expert Comment

by:Papertrip
ID: 36934709
*Unless you change the root password of course.
0
 

Author Comment

by:alfred-bsp
ID: 36934712
How do I change the root password?  Is that possible?
0
 
LVL 21

Expert Comment

by:Papertrip
ID: 36934714
0
 

Author Comment

by:alfred-bsp
ID: 36934726
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
 
LVL 21

Accepted Solution

by:
Papertrip earned 2000 total points
ID: 36934732
Oh awesome, that is good news indeed!

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

Author Comment

by:alfred-bsp
ID: 36934733
What about a incrementing the dns serial number?  does that have to be done?
0
 
LVL 21

Expert Comment

by:Papertrip
ID: 36934739
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
 

Author Comment

by:alfred-bsp
ID: 36934743
One last question the serial number is before the ; Serial correct?  Just increment that number by one?  

2010061000 ; Serial
0
 
LVL 21

Expert Comment

by:Papertrip
ID: 36934749
Yes, but please open new questions for... new questions ;)
0
 

Author Comment

by:alfred-bsp
ID: 36934750
Will do... Thanks for the help.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

826 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question