12-17-2010
Such declarations seem silly, as they never change, but it is good style to declare constants in one section with mnemonic names, and not hard code them elsewhere.
The only thing that gets tricky in DNS is when 2 nets are on one reverse domain, when subnetting not modulo 256. Similarly, sometimes a.b.c.d is defined on the c.d domain server, as there is no b.c.d name server.
I always did it by hand!
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm kindda confused about domainname and /etc/defaultdomain.
If I type domainname tesT.com, will this be added to /etc/defaultdomain or do I need to add manually on /etc/defaultdomain as well?...second question, if I type domainname tesT.com...is it case sensitive?
Thank you. (1 Reply)
Discussion started by: dookeobih
1 Replies
2. UNIX for Dummies Questions & Answers
hi all,
I have a sparc5 with ROM Rev 2.15. Is it possible to upgrade to a higher rev?
Thanks in advance. (1 Reply)
Discussion started by: andrec
1 Replies
3. Linux
Hey,
I've been on this for a while... can somebody explain to me what the domainname command really does. The man pages don't tell enough. And how can i have the domain name set so it will be the same all the time when the OS boots up. (4 Replies)
Discussion started by: byblyk
4 Replies
4. Linux
Help!
I've got RH7 running DDNS. It works between my machines NS1(DDNS server) and NS2(my back up DDNS server in windows) but when i add a client to the mix i can't type the clients name such as
ping linux137
Instead i've gotta type the fully qualified domain name.(or ip)
Ping... (0 Replies)
Discussion started by: byblyk
0 Replies
5. UNIX for Dummies Questions & Answers
is there a variable that controls whether the settings of the domainname and dnsdomainame, nisdomaname and hostname are global or local (as in static).. i keep setting the values for these commands and after a while they disappear. how can I keep one static value that will remain even after I have... (7 Replies)
Discussion started by: moxxx68
7 Replies
6. IP Networking
Hi all,
I was wondering ( yes it is a noob question :) ), i buy a domain (from domain.com) but i have dynamic public ip address and i was wondering if there is a way to automatically update my dynamic public ip address to my domain with BIND.
For example now i have some ip 22.22.22.22... (4 Replies)
Discussion started by: IvanAK
4 Replies
7. Solaris
Hi All,
We are working on solaris 10.
I create a file using touch command and when list the file, it does not shows the right timestamp.
... (4 Replies)
Discussion started by: sandeep_kmehra
4 Replies
LEARN ABOUT CENTOS
git-name-rev
GIT-NAME-REV(1) Git Manual GIT-NAME-REV(1)
NAME
git-name-rev - Find symbolic names for given revs
SYNOPSIS
git name-rev [--tags] [--refs=<pattern>]
( --all | --stdin | <committish>... )
DESCRIPTION
Finds symbolic names suitable for human digestion for revisions given in any format parsable by git rev-parse.
OPTIONS
--tags
Do not use branch names, but only tags to name the commits
--refs=<pattern>
Only use refs whose names match a given shell pattern.
--all
List all commits reachable from all refs
--stdin
Read from stdin, append "(<rev_name>)" to all sha1's of nameable commits, and pass to stdout
--name-only
Instead of printing both the SHA-1 and the name, print only the name. If given with --tags the usual tag prefix of "tags/" is also
omitted from the name, matching the output of git-describe more closely.
--no-undefined
Die with error code != 0 when a reference is undefined, instead of printing undefined.
--always
Show uniquely abbreviated commit object as fallback.
EXAMPLE
Given a commit, find out where it is relative to the local refs. Say somebody wrote you about that fantastic commit
33db5f4d9027a10e477ccf054b2c1ab94f74c85a. Of course, you look into the commit, but that only tells you what happened, but not the context.
Enter git name-rev:
% git name-rev 33db5f4d9027a10e477ccf054b2c1ab94f74c85a
33db5f4d9027a10e477ccf054b2c1ab94f74c85a tags/v0.99~940
Now you are wiser, because you know that it happened 940 revisions before v0.99.
Another nice thing you can do is:
% git log | git name-rev --stdin
GIT
Part of the git(1) suite
Git 1.8.3.1 06/10/2014 GIT-NAME-REV(1)