Sponsored Content
Full Discussion: solaris dns
Operating Systems Solaris solaris dns Post 302346696 by sikander on Monday 24th of August 2009 12:13:17 AM
Old 08-24-2009
Bug contents of named.conf and /var/named/db.gmail.com

Thanks bartus11 for your reply.Smilie
contents of zone entry for gmail.com in the forward zone only are given below
Code:
zone "gmail.com"
{
type master;
file "db.gmail.com";
};

all contents of /var/named/db.gmail.com are
Code:
$TTL 86400
;
;{name} {ttl} Class SOA   Origin                  Postmaster
;----------------------------------------------------------------------------------
@              IN   SOA  www.gmail.com.              root.www.gmail.com. (
                          2005010101                  ; Serial
                          3600                        ; Refresh (1 Hour)
                          1800                        ; Retry (30 Minutes)
                          6048000                     ; Expire (1 Week)
                          86400 )                     ; Minimum (24 Hours)
;
;{name} {ttl} Class NS Nameserver Name
;------------------------------------------------------
              IN    NS www.gmail.com.
;
;{name} {ttl} Class A IP Address
;-------------------------------------------------
www        IN     A      192.168.50.153
gmail.com.  IN     A      192.168.50.153

gmail.com.  IN MX 155555             www.gmail.com
localhost     IN     A      127.0.0.1

one more thing please do i have to change the TTL serial number because it is same in my primary server dns zone file do i have to make any entry for this domain(gmail.com) or zone in my primary dns zone file, if yes then please guide.

Looking forward to hear from you . Thanks in advance.

Regards,
Sikander

Last edited by vbe; 08-24-2009 at 05:37 AM.. Reason: TRied to add code tags...
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Solaris 5.8 DNS

Allright, Thanks to http://docs.sun.com I've got the tcp/ip portion of my box working now. I can see anything I want, as long as it's got a numerical address. Does anyone know how to add just a DNS entry? like reference my dns server, and configure my host name? (1 Reply)
Discussion started by: veitcha
1 Replies

2. UNIX for Dummies Questions & Answers

DNS on Solaris 2.6

I just setup Solaris 2.6 on my Sparc 10 and I cannot figure out how to configure my DNS settings. I am using @home as my ISP and they assigned me two DNS servers to use and a domain. I created a "resolv.conf" file in my etc folder and added the following exactly as shown: domain... (4 Replies)
Discussion started by: jskillet
4 Replies

3. IP Networking

Solaris DHCP and DNS

I have managed to setup my Solaris box to receive an IP number from a DHCP server. In addition, I can ping and telnet between my dhcp server and my solaris box using the IP number. However, I can't resolve addresses by name from my solaris box. In my nsswitch.conf file I have: hosts: dns ... (4 Replies)
Discussion started by: marist89
4 Replies

4. UNIX for Dummies Questions & Answers

DNS on Solaris 9

I installed bind 9 on Solaris 9 (intel) but don't know how to have the named service start on bootup. Is there a script hidden somewhere? (2 Replies)
Discussion started by: kiddaniels
2 Replies

5. Solaris

DNS on Solaris 9

How do I set the Primary and secondary DNS name server for a Sparc IIi running Solaris 9. I have already put them in the resolv.conf file but they still do not work. (5 Replies)
Discussion started by: Atreus
5 Replies

6. Solaris

Solaris DNS Client For Microsoft DNS Server

hey guys, how to add soalris box as a microsoft DNS Client ? and how to register in the microsoft DNS ?? i managed to query from the DNS server after adding /etc/resolve.conf and editing /etc/nsswitch.conf but i need to register the soalris server (dns Client) into Microsoft DNS automatically.... (3 Replies)
Discussion started by: mduweik
3 Replies

7. Solaris

DNS Services on Solaris

We need a DNS Server on DNS 10. What the best product can i buy and install ? Help me, pls. Tks all. (1 Reply)
Discussion started by: quan0509
1 Replies

8. Solaris

solaris - BIND / DNS

hi all forgive my ignorance, but when IVe set up DNS Ive put in the various server details in the /etc/resolv.conf and away I go. Suddenly Ive been reading about DNS, and I need to created a /etc/named.conf file. so, my question is this. DNS, what part does the /etc/resolv.conf play in... (3 Replies)
Discussion started by: sbk1972
3 Replies

9. Solaris

Solaris 10 - DNS / Issues / Help

Hi all Long time no speak, I hope you are all well. Im looking at a DNS issue here and reckon Igot a AD / DNS server issue elsewhere but need to rule out the configuration of my two server's first. IVe got the nameserver enteries in /etc/resolv.conf and dns in the /etc/nsswitch.conf ... (2 Replies)
Discussion started by: sbk1972
2 Replies

10. Solaris

How to add new Solaris client IP into Solaris 10 DNS server?

Hi, We just built a new Solaris 10 zone. And would like to add it to our DNS server. Its also Solaris 10. Please let me know how can I get the IP resolved using this DNS server. I added entry into zone config file but not working. I did restarted the DNS services. And also added nameserver name... (5 Replies)
Discussion started by: snchaudhari2
5 Replies
URLCODING(3)						 libbash urlcoding Library Manual					      URLCODING(3)

NAME
urlcoding -- a Libbash library for encoding and decoding URL's. SYNOPSIS
urlEncodeString [-l] <STRING> urlEncodeFile [-l] <FILE> urlEncodeStream [-l] urlDecodeString <STRING> urlDecodeFile <FILENAME> urlDecodeStream DESCRIPTION
urlcoding is a collection of functions that convert ASCII-text to standard URL's and vice-versa. The AWK code used is based on code by Heiner Steven <heiner.steven@odn.de> The function list: urlEncodeString Creates a URL from an ASCII string urlEncodeFile Converts a file into URL-valid text urlEncodeStream Converts standard input into URL-valid text urlDecodeString Converts a URL-encoded text back to a plain-text form urlDecodeFile Coverts URL-encoded text in a file back to plain text urlDecodeStream Converts URL-encoded standard input to text Detailed interface description follows. The [-l] option for the encoding functions should be used when line-feed characters (' ') are to be encoded as well. All functions print the results of their conversions to standard output. The exit status of all functions is that of the command 'awk', with '0' for success FUNCTIONS DESCRIPTIONS
urlEncodeString [-l] <STRING> Converts STRING - a string of ASCII characters - to URL. urlEncodeFile [-l] <FILE> Coverts FILE of URL-encoded text to plain text urlEncodeStream [-l] Converts text from standard input to URL-text. urlDecodeString <STRING> Converts URL-encoded string STRING back to text. urlDecodeFile <FILENAME> Converts the URL-encoded text in FILE to plain text. urlDecodeStream Converts the URL-encoded text from standard input to plain-text AUTHORS
Alon Keren <alon.keren@gmail.com> SEE ALSO
ldbash(1), libbash(1) Linux Epoch Linux
All times are GMT -4. The time now is 01:43 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy